summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/gv.el
diff options
context:
space:
mode:
authorMatus Goljer <matus.goljer@gmail.com>2023-03-26 13:20:19 +0200
committerEli Zaretskii <eliz@gnu.org>2023-03-26 14:38:53 +0300
commit564c26bdbeb1ebc1dcf00fb02d605140408a5be5 (patch)
tree8f2d80d7d3e6cec94450fbcd3cdfb35173aa30ae /lisp/emacs-lisp/gv.el
parent9107b2dec1f7cab9062b65013b02c8601d205015 (diff)
downloademacs-564c26bdbeb1ebc1dcf00fb02d605140408a5be5.tar.gz
emacs-564c26bdbeb1ebc1dcf00fb02d605140408a5be5.tar.bz2
emacs-564c26bdbeb1ebc1dcf00fb02d605140408a5be5.zip
; Fix edebug spec for 'gv-define-simple-setter' (bug#62256)
Diffstat (limited to 'lisp/emacs-lisp/gv.el')
-rw-r--r--lisp/emacs-lisp/gv.el2
1 files changed, 1 insertions, 1 deletions
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)