aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/gv.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el
index 9e00190e000..1fea38c49c1 100644
--- a/lisp/emacs-lisp/gv.el
+++ b/lisp/emacs-lisp/gv.el
@@ -260,6 +260,8 @@ The return value is the last VAL in the list.
260 260
261\(fn PLACE VAL PLACE VAL ...)" 261\(fn PLACE VAL PLACE VAL ...)"
262 (declare (debug (&rest [gv-place form]))) 262 (declare (debug (&rest [gv-place form])))
263 (if (/= (logand (length args) 1) 0)
264 (signal 'wrong-number-of-arguments (list 'setf (length args))))
263 (if (and args (null (cddr args))) 265 (if (and args (null (cddr args)))
264 (let ((place (pop args)) 266 (let ((place (pop args))
265 (val (car args))) 267 (val (car args)))