summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-11-14 20:27:52 -0500
committerGlenn Morris <rgm@gnu.org>2012-11-14 20:27:52 -0500
commit3a514ab07e4f632f1870b029d616217bb8b50221 (patch)
tree8fdb4a7789e27c1c225dd0833078948ecbae5cd7
parent22b762c7e3b370c5d9e02b4369daa3177df30f60 (diff)
downloademacs-3a514ab07e4f632f1870b029d616217bb8b50221.tar.gz
Backport fix for bug#12879 from trunk
* lisp/emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/gv.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 80ae61df8c1..f78240cdced 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
+ (bug#12879).
+
2012-11-14 Glenn Morris <rgm@gnu.org>
* subr.el (set-temporary-overlay-map): Doc fix.
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el
index 965fc1c3ef0..49fefcf5233 100644
--- a/lisp/emacs-lisp/gv.el
+++ b/lisp/emacs-lisp/gv.el
@@ -236,7 +236,7 @@ For example, (setf (cadr x) y) is equivalent to (setcar (cdr x) y).
The return value is the last VAL in the list.
\(fn PLACE VAL PLACE VAL ...)"
- (declare (debug (gv-place form)))
+ (declare (debug (&rest [gv-place form])))
(if (and args (null (cddr args)))
(let ((place (pop args))
(val (car args)))