summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-30 03:52:18 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-30 03:52:18 +0200
commitfda8c53309d00de85da644e6149d10eb8d85b790 (patch)
tree4dd9d752c9e9cf39336d68c13c346941dd9c8248 /lisp/emacs-lisp
parente608477da2ff300bbc7796bd3c1a42394d1f1148 (diff)
downloademacs-fda8c53309d00de85da644e6149d10eb8d85b790.tar.gz
emacs-fda8c53309d00de85da644e6149d10eb8d85b790.tar.bz2
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).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/generic.el4
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).")
function-list &optional docstring)
"Create a new generic mode MODE.
+A \"generic\" mode is a simple major mode with basic support for
+comment syntax and Font Lock mode, but otherwise do not have a
+any special keystrokes or functionality available.
+
MODE is the name of the command for the generic mode; don't quote it.
The optional DOCSTRING is the documentation for the mode command. If
you do not supply it, `define-generic-mode' uses a default