diff options
| author | Romain Francoise | 2005-10-20 05:48:50 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-10-20 05:48:50 +0000 |
| commit | ea5b829c21c096a8c8f957f470ee44ae48e4e8a6 (patch) | |
| tree | ee2fe94f468ecd84e51e6e90d6dc8f5069a5ee6d | |
| parent | c577a4d245a287c9ec6b2add58cfc18a0a4c14d4 (diff) | |
| download | emacs-ea5b829c21c096a8c8f957f470ee44ae48e4e8a6.tar.gz emacs-ea5b829c21c096a8c8f957f470ee44ae48e4e8a6.zip | |
(font-lock-mode): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/font-core.el | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 56e49dd666a..b7d10e75ea7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-10-20 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * font-core.el (font-lock-mode): Doc fix. | ||
| 4 | |||
| 1 | 2005-10-20 Kim F. Storm <storm@cua.dk> | 5 | 2005-10-20 Kim F. Storm <storm@cua.dk> |
| 2 | 6 | ||
| 3 | * ido.el (ido-is-tramp-root): Simplify regexp matching tramp root. | 7 | * ido.el (ido-is-tramp-root): Simplify regexp matching tramp root. |
diff --git a/lisp/font-core.el b/lisp/font-core.el index 4af6e1c41f0..27212f9fc68 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el | |||
| @@ -118,17 +118,14 @@ of `font-lock-global-modes'. For example, put in your ~/.emacs: | |||
| 118 | 118 | ||
| 119 | (global-font-lock-mode t) | 119 | (global-font-lock-mode t) |
| 120 | 120 | ||
| 121 | There are a number of support modes that may be used to speed up Font Lock mode | 121 | Where major modes support different levels of fontification, you can use |
| 122 | in various ways, specified via the variable `font-lock-support-mode'. Where | 122 | the variable `font-lock-maximum-decoration' to specify which level you |
| 123 | major modes support different levels of fontification, you can use the variable | 123 | generally prefer. When you turn Font Lock mode on/off the buffer is |
| 124 | `font-lock-maximum-decoration' to specify which level you generally prefer. | 124 | fontified/defontified, though fontification occurs only if the buffer is |
| 125 | When you turn Font Lock mode on/off the buffer is fontified/defontified, though | 125 | less than `font-lock-maximum-size'. |
| 126 | fontification occurs only if the buffer is less than `font-lock-maximum-size'. | ||
| 127 | 126 | ||
| 128 | For example, to specify that Font Lock mode uses Lazy Lock mode as a support | 127 | For example, to use maximum levels of fontification, put in your ~/.emacs: |
| 129 | mode and use maximum levels of fontification, put in your ~/.emacs: | ||
| 130 | 128 | ||
| 131 | (setq font-lock-support-mode 'lazy-lock-mode) | ||
| 132 | (setq font-lock-maximum-decoration t) | 129 | (setq font-lock-maximum-decoration t) |
| 133 | 130 | ||
| 134 | To add your own highlighting for some major mode, and modify the highlighting | 131 | To add your own highlighting for some major mode, and modify the highlighting |