aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/cl.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2012-11-06 22:14:27 -0500
committerStefan Monnier <[email protected]>2012-11-06 22:14:27 -0500
commitd57c286eea2c3bc69e8aeac6c4a1458625032a73 (patch)
treea3d3f9f2a401c2e36eefabac7046944ed628a7bc /lisp/emacs-lisp/cl.el
parentacf93bcf1922b4d157c217a7a76b30d028d1043d (diff)
* lisp/emacs-lisp/cl.el (defsetf): Pass the third arg to
gv-define-simple-setter. Fixes: debbugs:12812
Diffstat (limited to 'lisp/emacs-lisp/cl.el')
-rw-r--r--lisp/emacs-lisp/cl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index d3ef83961e..52567f3427 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -597,7 +597,7 @@ Example:
(cl-function
(lambda (,@(car args) ,@arg1) ,@(cdr args)))
do args)))
- `(gv-define-simple-setter ,name ,arg1)))
+ `(gv-define-simple-setter ,name ,arg1 ,(car args))))
;; FIXME: CL used to provide a setf method for `apply', but I haven't been able
;; to find a case where it worked. The code below tries to handle it as well.