From 750071accd81c527bd4e9c9167d232ac0afd2c92 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 26 Aug 2017 11:27:51 +0200 Subject: [PATCH] Tiny refactoring * lisp/ox.el (org-export-with-drawers): Tiny refactoring. --- lisp/ox.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 578960e0e..4102e1309 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -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.