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.
This commit is contained in:
Arash Esbati 2023-01-25 16:34:42 +01:00 committed by Ihor Radchenko
parent 1bcab6c04f
commit 65ca7bc6a7
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 2 deletions

View File

@ -6600,14 +6600,14 @@ see.
Optional argument POST-PROCESS is a function which should accept Optional argument POST-PROCESS is a function which should accept
no argument. It is always called within the current process, no argument. It is always called within the current process,
from BUFFER, with point at its beginning. Export back-ends can 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 (defun org-latex-export-as-latex
(&optional async subtreep visible-only body-only ext-plist) (&optional async subtreep visible-only body-only ext-plist)
(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
#'LaTeX-mode)) #\\='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.