Commit cfb35800 authored by NicolasPetton's avatar NicolasPetton

* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.

parent 988d7211
......@@ -49,7 +49,8 @@
Matches if the object is a map (list, hash-table or array), and
binds values from ARGS to the corresponding element of the map.
ARGS can be an alist of key/binding pairs of a list of keys."
ARGS can be a list elements of the form (KEY . PAT) or elements
of the form SYMBOL, which stands for (SYMBOL . SYMBOL)."
`(and (pred map-p)
,@(map--make-pcase-bindings args)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment