diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-03 22:38:28 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-03 22:38:28 -0400 |
commit | 2dd1c2ab19f7fb99ecee60e27e63b2fb045f6970 (patch) | |
tree | 07ef5fd76165ec05f4ec43c2a99fec424476779c /lisp/emacs-lisp/cl-macs.el | |
parent | 1d1158397bce41466078e384eed2d1e214e206de (diff) | |
download | emacs-2dd1c2ab19f7fb99ecee60e27e63b2fb045f6970.tar.gz emacs-2dd1c2ab19f7fb99ecee60e27e63b2fb045f6970.tar.bz2 emacs-2dd1c2ab19f7fb99ecee60e27e63b2fb045f6970.zip |
gv.el and cl-macs.el: Fix bug#57397
* lisp/emacs-lisp/gv.el (gv-get): Obey symbol macros.
* lisp/emacs-lisp/cl-macs.el (cl--letf): Remove workaround placed to
try and handle symbol macros.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-test--symbol-macrolet):
Add new testcase.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index edd633675dc..9755c2636de 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2762,7 +2762,7 @@ Each PLACE may be a symbol, or any generalized variable allowed by `setf'. (funcall setter vold))) binds)))) (let* ((binding (car bindings)) - (place (macroexpand (car binding) macroexpand-all-environment))) + (place (car binding))) (gv-letplace (getter setter) place (macroexp-let2 nil vnew (cadr binding) (if (symbolp place) |