Просмотр исходного кода

ob-exp: Tiny refactoring

* lisp/ob-exp.el (org-export-babel-evaluate): Tiny refactoring.
Nicolas Goaziou 8 лет назад
Родитель
Сommit
270ed02b02
1 измененных файлов с 1 добавлено и 1 удалено
  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.