From: Lars Ingebrigtsen Date: Wed, 30 Sep 2020 01:52:18 +0000 (+0200) Subject: define-generic-mode doc string fix X-Git-Tag: emacs-28.0.90~5824 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fda8c53309d00de85da644e6149d10eb8d85b790;p=emacs.git define-generic-mode doc string fix * lisp/emacs-lisp/generic.el (define-generic-mode): Say what a generic mode is (bug#43713). --- 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