Hi everyone,
I have an [emacs.org](https://emacs.org) file that I usually tangle to create my .emacs file. I recently started having this error:
`org-do-remove-indentation: Invalid function: org-current-text-indentation`
I tried debugging and got this backtrace:
​
`Debugger entered--Lisp error: (invalid-function org-current-text-indentation)`
`org-current-text-indentation()`
`org-do-remove-indentation(nil)`
`org-remove-indentation(" (when (and (fboundp 'native-comp-available-p)\n...")`
`org-babel--normalize-body((src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 117 :end 518 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (when (and (fboundp 'native-comp-available-p)\n..." :post-blank 1 :post-affiliated 117 :mode planning :granularity element :cached t :parent (section (:begin 117 :end 518 :contents-begin 117 :contents-end 517 :robust-begin 117 :robust-end 515 :post-blank 1 :post-affiliated 117 :mode section :granularity element :cached t :parent (headline (:raw-value "Native Comp" :begin 102 :end 518 :pre-blank 0 :contents-begin 117 :contents-end 517 :robust-begin 119 :robust-end 515 :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 102 :title "Native Comp" :mode section :granularity element :cached t :parent (headline ...) :org-element--cache-sync-key nil)) :org-element--cache-sync-key nil)) :org-element--cache-sync-key nil)))`
`org-babel-get-src-block-info(light)`
`org-babel-tangle-collect-blocks(nil nil)`
`org-babel-tangle(nil)`
`funcall-interactively(org-babel-tangle nil)`
`call-interactively(org-babel-tangle nil nil)`
`command-execute(org-babel-tangle)`
I tried executing manually some of the commands and the problem seems to be coming from `org-do-remove-indentation(nil).`
I tried linting my org file to find any errors and I get no feedback from the linter.
Any help on finding the source of the error would be much appreciated. Thanks!