From: Matus Goljer Date: Sun, 26 Mar 2023 11:20:19 +0000 (+0200) Subject: ; Fix edebug spec for 'gv-define-simple-setter' (bug#62256) X-Git-Tag: emacs-29.0.90~88 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=564c26bdbeb1ebc1dcf00fb02d605140408a5be5;p=emacs.git ; Fix edebug spec for 'gv-define-simple-setter' (bug#62256) --- diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index e307776252a..6adba6c342f 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el @@ -271,7 +271,7 @@ instead the assignment is turned into something equivalent to (SETTER ARGS... temp) temp) so as to preserve the semantics of `setf'." - (declare (debug (sexp (&or symbolp lambda-expr) &optional sexp))) + (declare (debug (sexp [&or symbolp lambda-expr] &optional sexp))) (when (eq 'lambda (car-safe setter)) (message "Use `gv-define-setter' or name %s's setter function" name)) `(gv-define-setter ,name (val &rest args)