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>
This commit is contained in:
Nicolas Goaziou 2016-04-20 23:45:32 +02:00
parent 466d044a9b
commit 7e320e2f1b
1 changed files with 3 additions and 3 deletions

View File

@ -31,11 +31,11 @@
(defconst org-babel-header-args:emacs-lisp '((lexical . :any))
"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.
: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
`eval', which see.")