[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c8dc4d6: * lisp/emacs-lisp/map.el (map-let): Better
From: |
Nicolas Petton |
Subject: |
[Emacs-diffs] master c8dc4d6: * lisp/emacs-lisp/map.el (map-let): Better docstring. |
Date: |
Mon, 15 Jun 2015 10:43:23 +0000 |
branch: master
commit c8dc4d680430255895e5654a2634ee6994dde050
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>
* lisp/emacs-lisp/map.el (map-let): Better docstring.
---
lisp/emacs-lisp/map.el | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index 85f6bca..dd7fb91 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -49,8 +49,11 @@
Matches if the object is a map (list, hash-table or array), and
binds values from ARGS to their corresponding elements of the map.
-ARGS can be a list elements of the form (KEY PAT) or elements
-of the form SYMBOL, which stands for ('SYMBOL SYMBOL)."
+ARGS can be a list elements of the form (KEY PAT), in which case
+KEY in an unquoted form.
+
+ARGS can also be a list of symbols, which stands for ('SYMBOL
+SYMBOL)."
`(and (pred map-p)
,@(map--make-pcase-bindings args)))
@@ -61,7 +64,7 @@ KEYS can be a list of symbols, in which case each element
will be
bound to the looked up value in MAP.
KEYS can also be a list of (KEY VARNAME) pairs, in which case
-KEY is not quoted.
+KEY is an unquoted form.
MAP can be a list, hash-table or array."
(declare (indent 2) (debug t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master c8dc4d6: * lisp/emacs-lisp/map.el (map-let): Better docstring.,
Nicolas Petton <=