emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] map cfb3580: * lisp/emacs-lisp/map.el: Better docstring fo


From: Nicolas Petton
Subject: [Emacs-diffs] map cfb3580: * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
Date: Thu, 04 Jun 2015 20:26:50 +0000

branch: map
commit cfb35800a8765b3458751bd6992a348f97843894
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
---
 lisp/emacs-lisp/map.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index dea2abc..46c7958 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]