Pārlūkot izejas kodu

ob-exp: Tiny refactoring

* lisp/ob-exp.el (org-export-babel-evaluate): Tiny refactoring.
Nicolas Goaziou 8 gadi atpakaļ
vecāks
revīzija
270ed02b02
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lisp/ob-exp.el

+ 1 - 1
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.