diff options
| author | Nicolas Petton | 2015-06-06 01:25:04 +0200 |
|---|---|---|
| committer | Nicolas Petton | 2015-06-06 01:26:25 +0200 |
| commit | cd22663b8521f2cc34b260fc097e189428535b29 (patch) | |
| tree | 358e3dc307713ae521394e33818ea545301e640b | |
| parent | 431fca48a82514d140bf2e4ee93c344661723eac (diff) | |
| download | emacs-cd22663b8521f2cc34b260fc097e189428535b29.tar.gz emacs-cd22663b8521f2cc34b260fc097e189428535b29.zip | |
* lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
| -rw-r--r-- | lisp/emacs-lisp/map.el | 4 |
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." | |||
| 64 | ,@body)) | 64 | ,@body)) |
| 65 | 65 | ||
| 66 | (defmacro map--dispatch (spec &rest args) | 66 | (defmacro map--dispatch (spec &rest args) |
| 67 | "Evaluate one of the provided forms depending on the type of MAP. | 67 | "Evaluate one of the forms specified by ARGS based on the type of MAP. |
| 68 | 68 | ||
| 69 | SPEC can be a map or a list of the form (VAR MAP [RESULT]). | 69 | SPEC can be a map or a list of the form (VAR MAP [RESULT]). |
| 70 | ARGS should have the form [TYPE FORM]... | 70 | ARGS should have the form [TYPE FORM]... |
| 71 | 71 | ||
| 72 | The following keyword types are meaningful: `:list', | 72 | The following keyword types are meaningful: `:list', |
| 73 | `:hash-table' and `array'. | 73 | `:hash-table' and `:array'. |
| 74 | 74 | ||
| 75 | An error is thrown if MAP is neither a list, hash-table nor array. | 75 | An error is thrown if MAP is neither a list, hash-table nor array. |
| 76 | 76 | ||