1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-04 08:47:03 +00:00

ob-exp: Tiny refactoring

* lisp/ob-exp.el (org-export-babel-evaluate): Tiny refactoring.
This commit is contained in:
Nicolas Goaziou 2016-06-18 23:40:12 +02:00
parent ce19c05e34
commit 270ed02b02

View File

@ -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.