From 3a514ab07e4f632f1870b029d616217bb8b50221 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 14 Nov 2012 20:27:52 -0500 Subject: [PATCH] Backport fix for bug#12879 from trunk * lisp/emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/gv.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments + (bug#12879). + 2012-11-14 Glenn Morris * 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))) -- 2.39.2