195 |
@cindex mode, Font Lock |
@cindex mode, Font Lock |
196 |
@cindex syntax highlighting and coloring |
@cindex syntax highlighting and coloring |
197 |
|
|
198 |
Font Lock mode is a minor mode, always local to a particular |
Font Lock mode is a minor mode, always local to a particular buffer, |
199 |
buffer, which highlights (or ``fontifies'') using various faces |
which highlights (or ``fontifies'') using various faces according to |
200 |
according to the syntax of the text you are editing. It can |
the syntax of the text you are editing. It can recognize comments and |
201 |
recognize comments and strings in most languages; in several |
strings in most languages; in several languages, it can also recognize |
202 |
languages, it can also recognize and properly highlight various other |
and properly highlight various other important constructs---for |
203 |
important constructs---for example, names of functions being defined |
example, names of functions being defined or reserved keywords. |
204 |
or reserved keywords. |
Some special modes, such as Occur mode and Info mode, have completely |
205 |
|
specialized ways of assigning fonts for Font Lock mode. |
206 |
|
|
207 |
@findex font-lock-mode |
@findex font-lock-mode |
208 |
@findex turn-on-font-lock |
@findex turn-on-font-lock |