* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
This commit is contained in:
parent
988d721186
commit
cfb35800a8
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue