]> git.eshelyaron.com Git - emacs.git/commitdiff
define-generic-mode doc string fix
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 30 Sep 2020 01:52:18 +0000 (03:52 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 30 Sep 2020 01:52:18 +0000 (03:52 +0200)
* lisp/emacs-lisp/generic.el (define-generic-mode): Say what a
generic mode is (bug#43713).

lisp/emacs-lisp/generic.el

index 06ef58005684ac5283016961446fe1841e72fa06..a9328a690364f755abce89fa44bd3a0ff14f8336 100644 (file)
@@ -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