Commit 41626722 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

Fixes: debbugs:12812
parent 2b4da3ff
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
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment