branch: externals-release/org
commit 65ca7bc6a7e847c9c8e34c7a7138a86b438d0438
Author: Arash Esbati <ar...@gnu.org>
Commit: Ihor Radchenko <yanta...@posteo.net>

    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 65f9ff1827..6f819def93 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.

Reply via email to