[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 f67f1ed: ; * doc/lispref/modes.texi (Font Lock Ba
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 f67f1ed: ; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording. |
Date: |
Wed, 24 Feb 2016 20:01:15 +0000 |
branch: emacs-25
commit f67f1edd69736c1717f6eaf9a37efd1f54f86360
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording.
---
doc/lispref/modes.texi | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 66f7a35..52cc8f8 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -2511,12 +2511,12 @@ Search-based fontification happens second.
The Font Lock functionality is based on several basic functions.
Each of these calls the function specified by the corresponding
-variable. This indirection allows major modes to modify the way
-fontification works in the buffers of that mode, and even use the Font
-Lock mechanisms for features that have nothing to do with
+variable. This indirection allows major and minor modes to modify the
+way fontification works in the buffers of that mode, and even use the
+Font Lock mechanisms for features that have nothing to do with
fontification. (This is why the description below says ``should''
-when it describes what the functions do: the major mode can customize
-the values of the corresponding variables to do something entirely
+when it describes what the functions do: the mode can customize the
+values of the corresponding variables to do something entirely
different.) The variables mentioned below are described in @ref{Other
Font Lock Variables}.
@@ -2563,10 +2563,10 @@ variable. The value assigned to this variable is used,
if and when Font
Lock mode is enabled, to set all the other variables.
@defvar font-lock-defaults
-This variable is set by major modes to specify how to fontify text in
-that mode. It automatically becomes buffer-local when set. If its
-value is @code{nil}, Font Lock mode does no highlighting, and you can
-use the @samp{Faces} menu (under @samp{Edit} and then @samp{Text
+This variable is set by modes to specify how to fontify text in that
+mode. It automatically becomes buffer-local when set. If its value
+is @code{nil}, Font Lock mode does no highlighting, and you can use
+the @samp{Faces} menu (under @samp{Edit} and then @samp{Text
Properties} in the menu bar) to assign faces explicitly to text in the
buffer.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 f67f1ed: ; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording.,
Eli Zaretskii <=