summaryrefslogtreecommitdiff
path: root/lisp/org/ox.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-12-11 12:31:13 -0500
committerKyle Meyer <kyle@kyleam.com>2021-12-11 12:31:13 -0500
commit30dd5c9acc3b3b95ef784549b5e3ff8136a23854 (patch)
treedd4b87907d5c26b870f8961f7b27d4704887a990 /lisp/org/ox.el
parenta37484992651fa6bdee9d5181fb6b096dbf41426 (diff)
downloademacs-30dd5c9acc3b3b95ef784549b5e3ff8136a23854.tar.gz
emacs-30dd5c9acc3b3b95ef784549b5e3ff8136a23854.tar.bz2
emacs-30dd5c9acc3b3b95ef784549b5e3ff8136a23854.zip
Update to Org 9.5.1-25-g9ca3bc
Diffstat (limited to 'lisp/org/ox.el')
-rw-r--r--lisp/org/ox.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/org/ox.el b/lisp/org/ox.el
index b27ec56c08c..80202b08500 100644
--- a/lisp/org/ox.el
+++ b/lisp/org/ox.el
@@ -6373,7 +6373,11 @@ use it to set a major mode there, e.g,
(&optional async subtreep visible-only body-only ext-plist)
(interactive)
(org-export-to-buffer \\='latex \"*Org LATEX Export*\"
- async subtreep visible-only body-only ext-plist (lambda () (LaTeX-mode))))
+ async subtreep visible-only body-only ext-plist
+ #'LaTeX-mode))
+
+When expressed as an anonymous function, using `lambda',
+POST-PROCESS needs to be quoted.
This function returns BUFFER."
(declare (indent 2))
@@ -6436,7 +6440,10 @@ to send the output file through additional processing, e.g,
(let ((outfile (org-export-output-file-name \".tex\" subtreep)))
(org-export-to-file \\='latex outfile
async subtreep visible-only body-only ext-plist
- (lambda (file) (org-latex-compile file)))
+ #'org-latex-compile)))
+
+When expressed as an anonymous function, using `lambda',
+POST-PROCESS needs to be quoted.
The function returns either a file name returned by POST-PROCESS,
or FILE."