summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-06-18 23:40:12 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-06-19 00:38:22 +0200
commit270ed02b02174b33b60b6b3e95e64d385abe41c8 (patch)
treeff7796037814fec14eee9e699ca2272c155f786d
parentce19c05e347aaefd8f1a9952e5fcd1d96b2d0cc6 (diff)
downloadorg-mode-270ed02b02174b33b60b6b3e95e64d385abe41c8.tar.gz
ob-exp: Tiny refactoring
* lisp/ob-exp.el (org-export-babel-evaluate): Tiny refactoring.
-rw-r--r--lisp/ob-exp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index f3c1e49..fbddf10 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -48,7 +48,7 @@ be executed."
:type '(choice (const :tag "Never" nil)
(const :tag "Only inline code" inline-only)
(const :tag "Always" t)))
-(put 'org-export-babel-evaluate 'safe-local-variable (lambda (x) (eq x nil)))
+(put 'org-export-babel-evaluate 'safe-local-variable #'null)
(defmacro org-babel-exp--at-source (&rest body)
"Evaluate BODY at the source of the Babel block at point.