Browse Source

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 9 years ago
parent
commit
0c7f3726fa
1 changed files with 3 additions and 2 deletions
  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