Mercurial > emacs
comparison lisp/font-lock.el @ 65378:f9dc4686f0a5
(font-lock-support-mode): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 Sep 2005 01:15:25 +0000 |
parents | 36abe6aaec07 |
children | 28d7d90409ee 46dfd959d88a 10fe5fadaf89 |
comparison
equal
deleted
inserted
replaced
65377:745b7454f9cc | 65378:f9dc4686f0a5 |
---|---|
844 ;; themselves. | 844 ;; themselves. |
845 | 845 |
846 (defcustom font-lock-support-mode 'jit-lock-mode | 846 (defcustom font-lock-support-mode 'jit-lock-mode |
847 "*Support mode for Font Lock mode. | 847 "*Support mode for Font Lock mode. |
848 Support modes speed up Font Lock mode by being choosy about when fontification | 848 Support modes speed up Font Lock mode by being choosy about when fontification |
849 occurs. Known support modes are Fast Lock mode (symbol `fast-lock-mode'), | 849 occurs. The default support mode, Just-in-time Lock mode (symbol |
850 Lazy Lock mode (symbol `lazy-lock-mode'), and Just-in-time Lock mode (symbol | 850 `jit-lock-mode'), is recommended. |
851 `jit-lock-mode'. See those modes for more info. | 851 |
852 Other, older support modes are Fast Lock mode (symbol `fast-lock-mode') and | |
853 Lazy Lock mode (symbol `lazy-lock-mode'). See those modes for more info. | |
854 However, they are no longer recommended, as Just-in-time Lock mode is better. | |
855 | |
852 If nil, means support for Font Lock mode is never performed. | 856 If nil, means support for Font Lock mode is never performed. |
853 If a symbol, use that support mode. | 857 If a symbol, use that support mode. |
854 If a list, each element should be of the form (MAJOR-MODE . SUPPORT-MODE), | 858 If a list, each element should be of the form (MAJOR-MODE . SUPPORT-MODE), |
855 where MAJOR-MODE is a symbol or t (meaning the default). For example: | 859 where MAJOR-MODE is a symbol or t (meaning the default). For example: |
856 ((c-mode . fast-lock-mode) (c++-mode . fast-lock-mode) (t . lazy-lock-mode)) | 860 ((c-mode . fast-lock-mode) (c++-mode . fast-lock-mode) (t . lazy-lock-mode)) |