Fix debug specs in minibuffer-tests.el macros (bug#79499)
* test/lisp/minibuffer-tests.el (with-minibuffer-setup) (completing-read-with-minibuffer-setup): Prevent instrumenting functions that call these macros from erroring due to an invalid debug specification in the 'declare' form. Use 't' as the debug spec since it is the most general and adequate here.
This commit is contained in:
@@ -449,7 +449,7 @@
|
||||
|
||||
|
||||
(defmacro with-minibuffer-setup (completing-read &rest body)
|
||||
(declare (indent 1) (debug (collection body)))
|
||||
(declare (indent 1) (debug t))
|
||||
`(catch 'result
|
||||
(minibuffer-with-setup-hook
|
||||
(lambda ()
|
||||
@@ -460,7 +460,7 @@
|
||||
,completing-read))))
|
||||
|
||||
(defmacro completing-read-with-minibuffer-setup (collection &rest body)
|
||||
(declare (indent 1) (debug (collection body)))
|
||||
(declare (indent 1) (debug t))
|
||||
`(catch 'result
|
||||
(minibuffer-with-setup-hook
|
||||
(lambda ()
|
||||
|
||||
Reference in New Issue
Block a user