]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
authorNicolas Petton <nicolas@petton.fr>
Fri, 5 Jun 2015 23:25:04 +0000 (01:25 +0200)
committerNicolas Petton <nicolas@petton.fr>
Fri, 5 Jun 2015 23:26:25 +0000 (01:26 +0200)
lisp/emacs-lisp/map.el

index b59ad63aee138d2949c2a14d863b82c7f4c4d03c..b332cf47dd42927226a0223b7f76111ca6374efd 100644 (file)
@@ -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.