Tiny refactoring

* lisp/ox.el (org-export-with-drawers): Tiny refactoring.
This commit is contained in:
Nicolas Goaziou 2017-08-26 11:27:51 +02:00
parent 64bfa2d931
commit 750071accd
1 changed files with 1 additions and 5 deletions

View File

@ -437,11 +437,7 @@ e.g. \"d:nil\"."
(repeat :tag "Specify names of drawers to ignore during export"
:inline t
(string :tag "Drawer name"))))
:safe (lambda (x) (or (booleanp x)
(and (listp x)
(or (cl-every #'stringp x)
(and (eq (nth 0 x) 'not)
(cl-every #'stringp (cdr x))))))))
:safe (lambda (x) (or (booleanp x) (consp x))))
(defcustom org-export-with-email nil
"Non-nil means insert author email into the exported file.