Backport commit 6dacb60bb from Emacs

; Fix last major-mode-remap-defaults change.
6dacb60bb135dbb002c2ce1c70f70430c5d1bbff
Basil L. Contovounesios
Mon Mar 4 07:19:22 2024 +0100
This commit is contained in:
Basil L. Contovounesios 2024-03-04 07:19:22 +01:00 committed by Kyle Meyer
parent ab62bdd79f
commit 014f85f55f
1 changed files with 1 additions and 1 deletions

View File

@ -6608,7 +6608,7 @@ use it to set a major mode there, e.g.,
(interactive) (interactive)
(org-export-to-buffer \\='latex \"*Org LATEX Export*\" (org-export-to-buffer \\='latex \"*Org LATEX Export*\"
async subtreep visible-only body-only ext-plist 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', When expressed as an anonymous function, using `lambda',
POST-PROCESS needs to be quoted. POST-PROCESS needs to be quoted.