mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 08:00:48 -08:00
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:
parent
40a22ced14
commit
ca704a67dc
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue