From 65ca7bc6a7e847c9c8e34c7a7138a86b438d0438 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Wed, 25 Jan 2023 16:34:42 +0100 Subject: [PATCH] lisp/ox.el: Pacify compiler warning * lisp/ox.el (org-export-to-buffer): Escape single quote in the example given in docstring. Add missing '.' after the abbreviation. --- lisp/ox.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 65f9ff182..6f819def9 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -6600,14 +6600,14 @@ see. Optional argument POST-PROCESS is a function which should accept no argument. It is always called within the current process, from BUFFER, with point at its beginning. Export back-ends can -use it to set a major mode there, e.g, +use it to set a major mode there, e.g., (defun org-latex-export-as-latex (&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 - #'LaTeX-mode)) + #\\='LaTeX-mode)) When expressed as an anonymous function, using `lambda', POST-PROCESS needs to be quoted.