diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 8111e1ccc..053f2b8cd 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -1095,16 +1095,16 @@ on this string to produce the exported version." ;; Call the hook (run-hooks 'org-export-preprocess-hook) - ;; Process the macros - (org-export-preprocess-apply-macros) - (run-hooks 'org-export-preprocess-after-macros-hook) - (untabify (point-min) (point-max)) ;; Handle include files, and call a hook (org-export-handle-include-files-recurse) (run-hooks 'org-export-preprocess-after-include-files-hook) + ;; Process the macros + (org-export-preprocess-apply-macros) + (run-hooks 'org-export-preprocess-after-macros-hook) + ;; Get rid of archived trees (org-export-remove-archived-trees archived-trees)