diff options
| author | Eli Zaretskii | 2016-02-24 22:00:45 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-02-24 22:00:45 +0200 |
| commit | f67f1edd69736c1717f6eaf9a37efd1f54f86360 (patch) | |
| tree | 7436aeaea88b4e368094b53009ff1b03e853d037 | |
| parent | 7c81a0b9c68315511b98272d0aa40962d82f6e66 (diff) | |
| download | emacs-f67f1edd69736c1717f6eaf9a37efd1f54f86360.tar.gz emacs-f67f1edd69736c1717f6eaf9a37efd1f54f86360.zip | |
; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording.
| -rw-r--r-- | 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 66f7a352023..52cc8f86bcf 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -2511,12 +2511,12 @@ Search-based fontification happens second. | |||
| 2511 | 2511 | ||
| 2512 | The Font Lock functionality is based on several basic functions. | 2512 | The Font Lock functionality is based on several basic functions. |
| 2513 | Each of these calls the function specified by the corresponding | 2513 | Each of these calls the function specified by the corresponding |
| 2514 | variable. This indirection allows major modes to modify the way | 2514 | variable. This indirection allows major and minor modes to modify the |
| 2515 | fontification works in the buffers of that mode, and even use the Font | 2515 | way fontification works in the buffers of that mode, and even use the |
| 2516 | Lock mechanisms for features that have nothing to do with | 2516 | Font Lock mechanisms for features that have nothing to do with |
| 2517 | fontification. (This is why the description below says ``should'' | 2517 | fontification. (This is why the description below says ``should'' |
| 2518 | when it describes what the functions do: the major mode can customize | 2518 | when it describes what the functions do: the mode can customize the |
| 2519 | the values of the corresponding variables to do something entirely | 2519 | values of the corresponding variables to do something entirely |
| 2520 | different.) The variables mentioned below are described in @ref{Other | 2520 | different.) The variables mentioned below are described in @ref{Other |
| 2521 | Font Lock Variables}. | 2521 | Font Lock Variables}. |
| 2522 | 2522 | ||
| @@ -2563,10 +2563,10 @@ variable. The value assigned to this variable is used, if and when Font | |||
| 2563 | Lock mode is enabled, to set all the other variables. | 2563 | Lock mode is enabled, to set all the other variables. |
| 2564 | 2564 | ||
| 2565 | @defvar font-lock-defaults | 2565 | @defvar font-lock-defaults |
| 2566 | This variable is set by major modes to specify how to fontify text in | 2566 | This variable is set by modes to specify how to fontify text in that |
| 2567 | that mode. It automatically becomes buffer-local when set. If its | 2567 | mode. It automatically becomes buffer-local when set. If its value |
| 2568 | value is @code{nil}, Font Lock mode does no highlighting, and you can | 2568 | is @code{nil}, Font Lock mode does no highlighting, and you can use |
| 2569 | use the @samp{Faces} menu (under @samp{Edit} and then @samp{Text | 2569 | the @samp{Faces} menu (under @samp{Edit} and then @samp{Text |
| 2570 | Properties} in the menu bar) to assign faces explicitly to text in the | 2570 | Properties} in the menu bar) to assign faces explicitly to text in the |
| 2571 | buffer. | 2571 | buffer. |
| 2572 | 2572 | ||