doc/org-manual.org: Fix some obsolete variable names

* doc/org-manual.org (Export hooks): Use the new
`org-export-before-processing-functions' and
`org-export-before-parsing-functions' instead of their obsolete
aliases.
This commit is contained in:
Ihor Radchenko 2023-12-27 14:23:29 +01:00
parent cf7ef80a13
commit 1ff72e0918
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 7 additions and 5 deletions

View File

@ -16420,12 +16420,14 @@ for usage and configuration details.
:END: :END:
#+vindex: org-export-before-processing-hook #+vindex: org-export-before-processing-hook
#+vindex: org-export-before-processing-functions
#+vindex: org-export-before-parsing-hook #+vindex: org-export-before-parsing-hook
The export process executes two hooks before the actual exporting The export process executes two hooks before the actual exporting
begins. The first hook, ~org-export-before-processing-hook~, runs begins. The first hook, ~org-export-before-processing-functions~,
before any expansions of macros, Babel code, and include keywords in runs before any expansions of macros, Babel code, and include keywords
the buffer. The second hook, ~org-export-before-parsing-hook~, runs in the buffer. The second hook,
before the buffer is parsed. ~org-export-before-parsing-functions~, runs before the buffer is
parsed.
Functions added to these hooks are called with a single argument: the Functions added to these hooks are called with a single argument: the
export backend actually used, as a symbol. You may use them for export backend actually used, as a symbol. You may use them for
@ -16444,7 +16446,7 @@ BACKEND is the export backend being used, as a symbol."
;; the docstring of `org-map-entries' for details. ;; the docstring of `org-map-entries' for details.
(setq org-map-continue-from (point))))) (setq org-map-continue-from (point)))))
(add-hook 'org-export-before-parsing-hook #'my-headline-removal) (add-hook 'org-export-before-parsing-functions #'my-headline-removal)
#+end_src #+end_src
*** Filters *** Filters