summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-04-13 14:46:58 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-04-13 14:46:58 -0400
commit4aca2fdfda69c1b8ea9df13189c198812e0728bf (patch)
tree591eee519f500e8ded7e1b545384a1ddecf65560
parent8bab07bc03c7f51b64daecef0168eb11c2f5c1eb (diff)
downloademacs-4aca2fdfda69c1b8ea9df13189c198812e0728bf.tar.gz
* lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
-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)."
(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))