Mercurial > emacs
comparison lisp/lazy-lock.el @ 22589:08ff5fd1e950
(lazy-lock-defer-on-scrolling,
lazy-lock-defer-contextually): Use `other' widget type.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Wed, 24 Jun 1998 09:15:11 +0000 |
parents | a3d90bdad8f9 |
children | bd6a5af23e19 |
comparison
equal
deleted
inserted
replaced
22588:b7a3c5541bc5 | 22589:08ff5fd1e950 |
---|---|
399 makes little sense if `lazy-lock-defer-contextually' is non-nil.) | 399 makes little sense if `lazy-lock-defer-contextually' is non-nil.) |
400 | 400 |
401 The value of this variable is used when Lazy Lock mode is turned on." | 401 The value of this variable is used when Lazy Lock mode is turned on." |
402 :type '(choice (const :tag "never" nil) | 402 :type '(choice (const :tag "never" nil) |
403 (const :tag "always" t) | 403 (const :tag "always" t) |
404 (sexp :tag "eventually" :format "%t\n" eventually)) | 404 (other :tag "eventually" eventually)) |
405 :group 'lazy-lock) | 405 :group 'lazy-lock) |
406 | 406 |
407 (defcustom lazy-lock-defer-contextually 'syntax-driven | 407 (defcustom lazy-lock-defer-contextually 'syntax-driven |
408 "*If non-nil, means deferred fontification should be syntactically true. | 408 "*If non-nil, means deferred fontification should be syntactically true. |
409 If nil, means deferred fontification occurs only on those lines modified. This | 409 If nil, means deferred fontification occurs only on those lines modified. This |
417 buffer mode's syntax table, i.e., only if `font-lock-keywords-only' is nil. | 417 buffer mode's syntax table, i.e., only if `font-lock-keywords-only' is nil. |
418 | 418 |
419 The value of this variable is used when Lazy Lock mode is turned on." | 419 The value of this variable is used when Lazy Lock mode is turned on." |
420 :type '(choice (const :tag "never" nil) | 420 :type '(choice (const :tag "never" nil) |
421 (const :tag "always" t) | 421 (const :tag "always" t) |
422 (sexp :tag "syntax-driven" :format "%t\n" syntax-driven)) | 422 (other :tag "syntax-driven" syntax-driven)) |
423 :group 'lazy-lock) | 423 :group 'lazy-lock) |
424 | 424 |
425 (defcustom lazy-lock-defer-time | 425 (defcustom lazy-lock-defer-time |
426 (if (featurep 'lisp-float-type) (/ (float 1) (float 4)) 1) | 426 (if (featurep 'lisp-float-type) (/ (float 1) (float 4)) 1) |
427 "*Time in seconds to delay before beginning deferred fontification. | 427 "*Time in seconds to delay before beginning deferred fontification. |