diff options
| author | Lars Ingebrigtsen | 2020-09-30 03:52:18 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-09-30 03:52:18 +0200 |
| commit | fda8c53309d00de85da644e6149d10eb8d85b790 (patch) | |
| tree | 4dd9d752c9e9cf39336d68c13c346941dd9c8248 | |
| parent | e608477da2ff300bbc7796bd3c1a42394d1f1148 (diff) | |
| download | emacs-fda8c53309d00de85da644e6149d10eb8d85b790.tar.gz emacs-fda8c53309d00de85da644e6149d10eb8d85b790.zip | |
define-generic-mode doc string fix
* lisp/emacs-lisp/generic.el (define-generic-mode): Say what a
generic mode is (bug#43713).
| -rw-r--r-- | lisp/emacs-lisp/generic.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el index 06ef5800568..a9328a69036 100644 --- a/lisp/emacs-lisp/generic.el +++ b/lisp/emacs-lisp/generic.el | |||
| @@ -116,6 +116,10 @@ instead (which see).") | |||
| 116 | function-list &optional docstring) | 116 | function-list &optional docstring) |
| 117 | "Create a new generic mode MODE. | 117 | "Create a new generic mode MODE. |
| 118 | 118 | ||
| 119 | A \"generic\" mode is a simple major mode with basic support for | ||
| 120 | comment syntax and Font Lock mode, but otherwise do not have a | ||
| 121 | any special keystrokes or functionality available. | ||
| 122 | |||
| 119 | MODE is the name of the command for the generic mode; don't quote it. | 123 | MODE is the name of the command for the generic mode; don't quote it. |
| 120 | The optional DOCSTRING is the documentation for the mode command. If | 124 | The optional DOCSTRING is the documentation for the mode command. If |
| 121 | you do not supply it, `define-generic-mode' uses a default | 125 | you do not supply it, `define-generic-mode' uses a default |