aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-11-06 22:14:27 -0500
committerStefan Monnier2012-11-06 22:14:27 -0500
commitd57c286eea2c3bc69e8aeac6c4a1458625032a73 (patch)
treea3d3f9f2a401c2e36eefabac7046944ed628a7bc
parentacf93bcf1922b4d157c217a7a76b30d028d1043d (diff)
downloademacs-d57c286eea2c3bc69e8aeac6c4a1458625032a73.tar.gz
emacs-d57c286eea2c3bc69e8aeac6c4a1458625032a73.zip
* lisp/emacs-lisp/cl.el (defsetf): Pass the third arg to
gv-define-simple-setter. Fixes: debbugs:12812
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/cl.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e89af026c66..b88baaa2f0a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4 gv-define-simple-setter (bug#12812).
5
12012-11-06 Stefan Monnier <monnier@iro.umontreal.ca> 62012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * woman.el (woman-decode-region): Disable adaptive-fill when rendering 8 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index d3ef83961e2..52567f34278 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -597,7 +597,7 @@ Example:
597 (cl-function 597 (cl-function
598 (lambda (,@(car args) ,@arg1) ,@(cdr args))) 598 (lambda (,@(car args) ,@arg1) ,@(cdr args)))
599 do args))) 599 do args)))
600 `(gv-define-simple-setter ,name ,arg1))) 600 `(gv-define-simple-setter ,name ,arg1 ,(car args))))
601 601
602;; FIXME: CL used to provide a setf method for `apply', but I haven't been able 602;; FIXME: CL used to provide a setf method for `apply', but I haven't been able
603;; to find a case where it worked. The code below tries to handle it as well. 603;; to find a case where it worked. The code below tries to handle it as well.