From: Nicolas Petton Date: Thu, 4 Jun 2015 20:26:22 +0000 (+0200) Subject: * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro. X-Git-Tag: emacs-25.0.90~1873^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cfb35800a8765b3458751bd6992a348f97843894;p=emacs.git * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro. --- diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el index dea2abcb0e8..46c795840b0 100644 --- 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)))