Commit cd22663b authored by NicolasPetton's avatar NicolasPetton

* lisp/emacs-lisp/map.el (map--dispatch): Better docstring.

parent 431fca48
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment