Clean up scoping rule of predefined single-word vars.
commit513749ee1862278385028d6700e1d2ce8abd35e6
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Jun 2012 13:18:26 +0000 (8 09:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Jun 2012 13:18:26 +0000 (8 09:18 -0400)
treecb835ce77cd2aa8d828dca57b55642e85f3942c5
parent595ef4ad76fb75db4a0adb2baf117ef6d68a2e41
Clean up scoping rule of predefined single-word vars.
* lisp/startup.el (argv, argi): Make lexically scoped.
* lisp/emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
* lisp/emacs-lisp/cl-macs.el: Use lexical-binding.
Rename cl-bind-* to cl--bind-*.
* lisp/files.el: Don't require `cl' since it doesn't use it.
* lisp/emacs-lisp/pcase.el, lisp/emacs-lisp/macroexp.el: Add coding cookie.
* src/eval.c (Fmake_var_non_special): New primitive.
(syms_of_eval): Defsubr it.
* src/lread.c (syms_of_lread): Mark `values' as lexically scoped.
lisp/ChangeLog
lisp/emacs-lisp/cl-loaddefs.el
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/float-sup.el
lisp/emacs-lisp/macroexp.el
lisp/emacs-lisp/pcase.el
lisp/files.el
lisp/startup.el
src/ChangeLog
src/eval.c
src/lread.c