1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Merge from origin/emacs-30

0974418f2a Improve and correct documentation of 'font-lock-keywords-...
This commit is contained in:
Eli Zaretskii 2025-11-01 05:28:54 -04:00
commit e1b64c8b12
2 changed files with 16 additions and 11 deletions

View file

@ -560,8 +560,12 @@ This is normally set via `font-lock-add-keywords' and
`font-lock-remove-keywords'.")
(defvar font-lock-keywords-only nil
"Non-nil means Font Lock should not fontify comments or strings.
This is normally set via `font-lock-defaults'.")
"Non-nil means Font Lock should not use syntactic fontifications.
This is normally set via `font-lock-defaults'. Setting it to a
non-nil value will usually cause comments and strings not to be
fontified, unless `font-lock-keywords' are set so as to fontify them,
or some other font-lock mechanism has the same effect even when this
variable is non-nil.")
(defvar-local font-lock-keywords-case-fold-search nil
"Non-nil means the patterns in `font-lock-keywords' are case-insensitive.