1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(font-lock-mode): Doc fix.

This commit is contained in:
Romain Francoise 2005-10-20 05:48:50 +00:00
parent c577a4d245
commit ea5b829c21
2 changed files with 10 additions and 9 deletions

View file

@ -1,3 +1,7 @@
2005-10-20 Romain Francoise <romain@orebokech.com>
* font-core.el (font-lock-mode): Doc fix.
2005-10-20 Kim F. Storm <storm@cua.dk>
* ido.el (ido-is-tramp-root): Simplify regexp matching tramp root.

View file

@ -118,17 +118,14 @@ of `font-lock-global-modes'. For example, put in your ~/.emacs:
(global-font-lock-mode t)
There are a number of support modes that may be used to speed up Font Lock mode
in various ways, specified via the variable `font-lock-support-mode'. Where
major modes support different levels of fontification, you can use the variable
`font-lock-maximum-decoration' to specify which level you generally prefer.
When you turn Font Lock mode on/off the buffer is fontified/defontified, though
fontification occurs only if the buffer is less than `font-lock-maximum-size'.
Where major modes support different levels of fontification, you can use
the variable `font-lock-maximum-decoration' to specify which level you
generally prefer. When you turn Font Lock mode on/off the buffer is
fontified/defontified, though fontification occurs only if the buffer is
less than `font-lock-maximum-size'.
For example, to specify that Font Lock mode uses Lazy Lock mode as a support
mode and use maximum levels of fontification, put in your ~/.emacs:
For example, to use maximum levels of fontification, put in your ~/.emacs:
(setq font-lock-support-mode 'lazy-lock-mode)
(setq font-lock-maximum-decoration t)
To add your own highlighting for some major mode, and modify the highlighting