Tweak gv-define-setter debug setting

* lisp/emacs-lisp/gv.el (gv-define-setter): Change edebug spec
from body to def-body (bug#28729).
This commit is contained in:
Lars Ingebrigtsen 2019-07-15 11:15:11 +02:00
parent 966c4d3ba8
commit dbd1d2ebf8

View file

@ -214,7 +214,7 @@ The first arg in ARGLIST (the one that receives VAL) receives an expression
which can do arbitrary things, whereas the other arguments are all guaranteed
to be pure and copyable. Example use:
(gv-define-setter aref (v a i) \\=`(aset ,a ,i ,v))"
(declare (indent 2) (debug (&define name sexp body)))
(declare (indent 2) (debug (&define name sexp def-body)))
`(gv-define-expander ,name
(lambda (do &rest args)
(declare-function