diff --git a/lisp/ox.el b/lisp/ox.el index 8e2fdd22a..bf2d9b569 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -6608,7 +6608,7 @@ use it to set a major mode there, e.g., (interactive) (org-export-to-buffer \\='latex \"*Org LATEX Export*\" async subtreep visible-only body-only ext-plist - (major-mode-remap 'latex-mode))) + (major-mode-remap \\='latex-mode))) When expressed as an anonymous function, using `lambda', POST-PROCESS needs to be quoted.