Mercurial > emacs
comparison lisp/lazy-lock.el @ 42987:b628f22c9f56
(lazy-lock-mode): Add a reference to jit-lock.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 27 Jan 2002 09:25:37 +0000 |
parents | 45db352a0971 |
children | 7bb123117932 |
comparison
equal
deleted
inserted
replaced
42986:df2b7dbd4046 | 42987:b628f22c9f56 |
---|---|
463 With arg, turn Lazy Lock mode on if and only if arg is positive. Enable it | 463 With arg, turn Lazy Lock mode on if and only if arg is positive. Enable it |
464 automatically in your `~/.emacs' by: | 464 automatically in your `~/.emacs' by: |
465 | 465 |
466 (setq font-lock-support-mode 'lazy-lock-mode) | 466 (setq font-lock-support-mode 'lazy-lock-mode) |
467 | 467 |
468 For a newer font-lock support mode with similar functionality, see | |
469 `jit-lock-mode'. Eventually, Lazy Lock mode will be deprecated in | |
470 JIT Lock's favor. | |
471 | |
468 When Lazy Lock mode is enabled, fontification can be lazy in a number of ways: | 472 When Lazy Lock mode is enabled, fontification can be lazy in a number of ways: |
469 | 473 |
470 - Demand-driven buffer fontification if `lazy-lock-minimum-size' is non-nil. | 474 - Demand-driven buffer fontification if `lazy-lock-minimum-size' is non-nil. |
471 This means initial fontification does not occur if the buffer is greater than | 475 This means initial fontification does not occur if the buffer is greater than |
472 `lazy-lock-minimum-size' characters in length. Instead, fontification occurs | 476 `lazy-lock-minimum-size' characters in length. Instead, fontification occurs |