From 014f85f55f4966cba9221a8fd7bdb4c617342cf8 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Mon, 4 Mar 2024 07:19:22 +0100 Subject: [PATCH] Backport commit 6dacb60bb from Emacs ; Fix last major-mode-remap-defaults change. 6dacb60bb135dbb002c2ce1c70f70430c5d1bbff Basil L. Contovounesios Mon Mar 4 07:19:22 2024 +0100 --- lisp/ox.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.