projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988d721
)
* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
author
Nicolas Petton
<nicolas@petton.fr>
Thu, 4 Jun 2015 20:26:22 +0000
(22:26 +0200)
committer
Nicolas Petton
<nicolas@petton.fr>
Thu, 4 Jun 2015 20:26:22 +0000
(22:26 +0200)
lisp/emacs-lisp/map.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/map.el
b/lisp/emacs-lisp/map.el
index dea2abcb0e8947ab9b51960e2f5b7a88e0681fa2..46c795840b022103b117c8deb37a2482bb8700cc 100644
(file)
--- a/
lisp/emacs-lisp/map.el
+++ b/
lisp/emacs-lisp/map.el
@@
-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)))