branch: externals/org
commit a43d7a575da05af39758beb70c3614757afe0b2f
Author: Nicolas Goaziou <[email protected]>
Commit: Nicolas Goaziou <[email protected]>

    ox: Fix docstring
    
    * lisp/ox.el (org-export-define-backend): Fix docstring.
    
    Reported-by: Zachary Kanfer <[email protected]>
    <http://lists.gnu.org/r/emacs-orgmode/2021-08/msg00009.html>
---
 lisp/ox.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index 418c680..eb12b68 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -1212,12 +1212,12 @@ keywords are understood:
       or
 
       \\='(?l \"Export to LaTeX\"
-           (?p \"As PDF file\" org-latex-export-to-pdf)
-           (?o \"As PDF file and open\"
-               (lambda (a s v b)
-                 (if a (org-latex-export-to-pdf t s v b)
-                   (org-open-file
-                    (org-latex-export-to-pdf nil s v b)))))))
+           ((?p \"As PDF file\" org-latex-export-to-pdf)
+            (?o \"As PDF file and open\"
+                (lambda (a s v b)
+                  (if a (org-latex-export-to-pdf t s v b)
+                    (org-open-file
+                     (org-latex-export-to-pdf nil s v b)))))))
 
       or the following, which will be added to the previous
       sub-menu,

Reply via email to