From ed99a1eb894ab2e02cb3126aacff9e61eb1e473b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 30 Sep 2020 16:56:08 +0300 Subject: [PATCH] Minor fixes of recent changes * lisp/emacs-lisp/generic.el (define-generic-mode): Fix typos. * etc/NEWS: Adjust an entry due to recent changes. --- etc/NEWS | 2 ++ lisp/emacs-lisp/generic.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 10b99f413b8..7be793e01a0 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1086,6 +1086,8 @@ keystrokes. E.g., 'C-M-s foo-\([0-9]+\)' will now use the 'isearch-group-1' face on the part of the regexp that matches the sub-expression "[0-9]+". This is controlled by the 'search-highlight-submatches' user option. +This feature is available only on terminals that have enough colors to +distinguish between sub-expression highlighting. --- *** New user option 'reveal-auto-hide'. diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el index a9328a69036..3bc6d021dc8 100644 --- a/lisp/emacs-lisp/generic.el +++ b/lisp/emacs-lisp/generic.el @@ -117,7 +117,7 @@ instead (which see).") "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 +comment syntax and Font Lock mode, but otherwise does not have any special keystrokes or functionality available. MODE is the name of the command for the generic mode; don't quote it. -- 2.39.5