diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-07-28 15:32:42 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-07-28 15:32:42 +0200 |
commit | 6b96c630f7ae76bc0bd200097f7d9bf9e856f2db (patch) | |
tree | e4cac427c0600fadcbdc98c69bd70ebb629111c3 /lisp/mail | |
parent | 977aed9f7981fee0ba9ac8711a86da908fc5057e (diff) | |
download | emacs-6b96c630f7ae76bc0bd200097f7d9bf9e856f2db.tar.gz emacs-6b96c630f7ae76bc0bd200097f7d9bf9e856f2db.tar.bz2 emacs-6b96c630f7ae76bc0bd200097f7d9bf9e856f2db.zip |
Delete fast-lock.el and lazy-lock.el
The 'font-lock-support-mode' is occasionally useful for debugging
purposes, so it remains as a defvar.
Ref: https://lists.gnu.org/r/emacs-devel/2020-08/msg00125.html
* lisp/obsolete/fast-lock.el:
* lisp/obsolete/lazy-lock.el: Delete libraries obsolete since
22.1. (Bug#56560)
* lisp/font-lock.el (font-lock-support-mode): Make into a defvar and
delete any mention of 'lazy-lock-mode' and 'fast-lock-mode'.
(font-lock-turn-on-thing-lock, font-lock-turn-off-thing-lock):
Drop support for obsolete modes lazy-lock and fast-lock.
(font-lock-after-fontify-buffer)
(font-lock-after-unfontify-buffer): Make into obsolete function
aliases for 'ignore'. Adjust callers.
(font-lock-keywords, font-lock-inhibit-thing-lock): Adjust
documentation to not mention lazy-lock and fast-lock.
* lisp/font-core.el (font-lock-defaults): Adjust documentation to
not mention 'font-lock-inhibit-thing-lock'.
* lisp/mail/rmail.el (rmail-variables): Don't inhibit obsolete
lazy-lock-mode and fast-lock-mode.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/rmail.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 71eda7cd2b0..4bfec22b3a9 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1451,8 +1451,7 @@ If so restore the actual mbox message collection." (setq-local font-lock-defaults '(rmail-font-lock-keywords t t nil nil - (font-lock-dont-widen . t) - (font-lock-inhibit-thing-lock . (lazy-lock-mode fast-lock-mode)))) + (font-lock-dont-widen . t))) (setq-local require-final-newline nil) (setq-local version-control 'never) (add-hook 'kill-buffer-hook #'rmail-mode-kill-summary nil t) |