]> git.eshelyaron.com Git - emacs.git/commit
Split variable macro env from function env
authorNoam Postavsky <npostavs@gmail.com>
Sat, 22 Apr 2017 03:37:05 +0000 (23:37 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 8 Jun 2017 00:03:31 +0000 (20:03 -0400)
commit0648edf3e05e224ee8410ab244df7364f919dc58
treed6adddb90e85ba1a7c37168cdfcd190e587de1e9
parentb52e40d756af935a4f6dc46842d306b5493a7b73
Split variable macro env from function env

* lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Remove.
(cl-symbol-macrolet): Instead of adding each binding directly into the
main environment with a special key format, put all symbol macro
bindings into a single entry in the main environment under
`:cl-symbol-macros'.
(cl--sm-macroexpand): Look up symbol bindings in the
`:cl-symbol-macros' entry of the environment.
lisp/emacs-lisp/cl-macs.el