1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00

* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Fix last change.

Fixes: debbugs:12812
This commit is contained in:
Stefan Monnier 2012-11-07 20:24:14 -05:00
parent 2b4da3ff4a
commit 4162672227
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
(bug#12812).
2012-11-07 Chong Yidong <cyd@gnu.org>
* minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to

View File

@ -220,7 +220,8 @@ so as to preserve the semantics of `setf'."
`(gv-define-setter ,name (val &rest args)
,(if fix-return
`(macroexp-let2 nil v val
(cons ',setter (append args (list v))))
(cons ',setter (append args (list v)))
v)
`(cons ',setter (append args (list val))))))
;;; Typical operations on generalized variables.