소스 검색

ob-emacs-lisp: Defaut binding is dynamic

* lisp/ob-emacs-lisp.el (org-babel-default-header-args:emacs-lisp):
  Change default value.

<http://permalink.gmane.org/gmane.emacs.orgmode/106530>
Nicolas Goaziou 10 년 전
부모
커밋
7e320e2f1b
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      lisp/ob-emacs-lisp.el

+ 3 - 3
lisp/ob-emacs-lisp.el

@@ -31,11 +31,11 @@
 (defconst org-babel-header-args:emacs-lisp '((lexical . :any))
 (defconst org-babel-header-args:emacs-lisp '((lexical . :any))
   "Emacs-lisp specific header arguments.")
   "Emacs-lisp specific header arguments.")
 
 
-(defvar org-babel-default-header-args:emacs-lisp '((:lexical . "yes"))
+(defvar org-babel-default-header-args:emacs-lisp '((:lexical . "no"))
   "Default arguments for evaluating an emacs-lisp source block.
   "Default arguments for evaluating an emacs-lisp source block.
 
 
-:lexical is \"yes\" by default and causes src blocks to be eval'd
-using lexical scoping.  It can also be an alist mapping symbols to
+A value of \"yes\" or t causes src blocks to be eval'd using
+lexical scoping.  It can also be an alist mapping symbols to
 their value.  It is used as the optional LEXICAL argument to
 their value.  It is used as the optional LEXICAL argument to
 `eval', which see.")
 `eval', which see.")