summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/map.el
diff options
context:
space:
mode:
authorNicolas Petton <nicolas@petton.fr>2015-06-06 01:25:04 +0200
committerNicolas Petton <nicolas@petton.fr>2015-06-06 01:26:25 +0200
commitcd22663b8521f2cc34b260fc097e189428535b29 (patch)
tree358e3dc307713ae521394e33818ea545301e640b /lisp/emacs-lisp/map.el
parent431fca48a82514d140bf2e4ee93c344661723eac (diff)
downloademacs-cd22663b8521f2cc34b260fc097e189428535b29.tar.gz
* lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
Diffstat (limited to 'lisp/emacs-lisp/map.el')
-rw-r--r--lisp/emacs-lisp/map.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index b59ad63aee1..b332cf47dd4 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -64,13 +64,13 @@ can be a list, hash-table or array."
,@body))
(defmacro map--dispatch (spec &rest args)
- "Evaluate one of the provided forms depending on the type of MAP.
+ "Evaluate one of the forms specified by ARGS based on the type of MAP.
SPEC can be a map or a list of the form (VAR MAP [RESULT]).
ARGS should have the form [TYPE FORM]...
The following keyword types are meaningful: `:list',
-`:hash-table' and `array'.
+`:hash-table' and `:array'.
An error is thrown if MAP is neither a list, hash-table nor array.