Browse Source

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 9 years ago
parent
commit
7e320e2f1b
1 changed files with 3 additions and 3 deletions
  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.")