瀏覽代碼

ob-exp: Tiny refactoring

* lisp/ob-exp.el (org-export-babel-evaluate): Tiny refactoring.
Nicolas Goaziou 8 年之前
父節點
當前提交
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.