]> code.delx.au - gnu-emacs/commitdiff
* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
authorNicolas Petton <nicolas@petton.fr>
Thu, 4 Jun 2015 20:26:22 +0000 (22:26 +0200)
committerNicolas Petton <nicolas@petton.fr>
Thu, 4 Jun 2015 20:26:22 +0000 (22:26 +0200)
lisp/emacs-lisp/map.el

index dea2abcb0e8947ab9b51960e2f5b7a88e0681fa2..46c795840b022103b117c8deb37a2482bb8700cc 100644 (file)
@@ -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)))