mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix Edebug specs for map-let and with-maps-do
* lisp/emacs-lisp/map.el (map-let): Fix Edebug spec (bug#24777). * test/lisp/emacs-lisp/map-tests.el (with-maps-do): Fix Edebug spec.
This commit is contained in:
parent
46f2ee0d4c
commit
928a106939
2 changed files with 3 additions and 2 deletions
|
|
@ -73,7 +73,8 @@ KEYS can also be a list of (KEY VARNAME) pairs, in which case
|
|||
KEY is an unquoted form.
|
||||
|
||||
MAP can be a list, hash-table or array."
|
||||
(declare (indent 2) (debug t))
|
||||
(declare (indent 2)
|
||||
(debug ((&rest &or symbolp ([form symbolp])) form body)))
|
||||
`(pcase-let ((,(map--make-pcase-patterns keys) ,map))
|
||||
,@body))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue