diff options
| author | Nicolas Petton | 2015-06-04 22:26:22 +0200 |
|---|---|---|
| committer | Nicolas Petton | 2015-06-04 22:26:22 +0200 |
| commit | cfb35800a8765b3458751bd6992a348f97843894 (patch) | |
| tree | 78e08350dd7b17dd29f641f5559d7dae90925681 | |
| parent | 988d72118687758af6c2b7c56c80056630d428ca (diff) | |
| download | emacs-cfb35800a8765b3458751bd6992a348f97843894.tar.gz emacs-cfb35800a8765b3458751bd6992a348f97843894.zip | |
* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
| -rw-r--r-- | 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 dea2abcb0e8..46c795840b0 100644 --- a/lisp/emacs-lisp/map.el +++ b/lisp/emacs-lisp/map.el | |||
| @@ -49,7 +49,8 @@ | |||
| 49 | Matches if the object is a map (list, hash-table or array), and | 49 | Matches if the object is a map (list, hash-table or array), and |
| 50 | binds values from ARGS to the corresponding element of the map. | 50 | binds values from ARGS to the corresponding element of the map. |
| 51 | 51 | ||
| 52 | ARGS can be an alist of key/binding pairs of a list of keys." | 52 | ARGS can be a list elements of the form (KEY . PAT) or elements |
| 53 | of the form SYMBOL, which stands for (SYMBOL . SYMBOL)." | ||
| 53 | `(and (pred map-p) | 54 | `(and (pred map-p) |
| 54 | ,@(map--make-pcase-bindings args))) | 55 | ,@(map--make-pcase-bindings args))) |
| 55 | 56 | ||