mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 00:40:35 -08:00
* lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
This commit is contained in:
parent
8bab07bc03
commit
4aca2fdfda
1 changed files with 1 additions and 0 deletions
|
|
@ -263,6 +263,7 @@ of the form (UPAT EXP)."
|
|||
(push (list (car binding) tmpvar) matches)))))
|
||||
`(let ,(nreverse bindings) (pcase-let* ,matches ,@body)))))
|
||||
|
||||
;;;###autoload
|
||||
(defmacro pcase-dolist (spec &rest body)
|
||||
(declare (indent 1) (debug ((pcase-UPAT form) body)))
|
||||
(if (pcase--trivial-upat-p (car spec))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue