Ver Fonte

org-ascii.el: fix `org-export-as-utf8'.

* org-ascii.el (org-export-as-utf8): fix call to
`org-called-interactively-p': it requires an argument.  Also
fix the docstring.
Bastien Guerry há 13 anos atrás
pai
commit
0c7f3726fa
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      lisp/org-ascii.el

+ 3 - 2
lisp/org-ascii.el

@@ -108,9 +108,10 @@ utf8      Use all UTF-8 characters")
 
 ;;;###autoload
 (defun org-export-as-utf8 (&rest args)
-  "Like `org-export-as-ascii', use use encoding for special symbols."
+  "Like `org-export-as-ascii', use encoding for special symbols."
   (interactive)
-  (org-export-as-encoding 'org-export-as-ascii (org-called-interactively-p)
+  (org-export-as-encoding 'org-export-as-ascii 
+			  (org-called-interactively-p 'any)
 			  'utf8 args))
 
 ;;;###autoload