aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/pcase.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index 49603036ead..978c3f0dd30 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -263,6 +263,7 @@ of the form (UPAT EXP)."
263 (push (list (car binding) tmpvar) matches))))) 263 (push (list (car binding) tmpvar) matches)))))
264 `(let ,(nreverse bindings) (pcase-let* ,matches ,@body))))) 264 `(let ,(nreverse bindings) (pcase-let* ,matches ,@body)))))
265 265
266;;;###autoload
266(defmacro pcase-dolist (spec &rest body) 267(defmacro pcase-dolist (spec &rest body)
267 (declare (indent 1) (debug ((pcase-UPAT form) body))) 268 (declare (indent 1) (debug ((pcase-UPAT form) body)))
268 (if (pcase--trivial-upat-p (car spec)) 269 (if (pcase--trivial-upat-p (car spec))