diff options
| author | Pavel Janík | 2001-12-13 07:52:26 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-12-13 07:52:26 +0000 |
| commit | fb359a2b218ca235f4f6d206bf3edfbe7743e764 (patch) | |
| tree | 3f7c28809c553b750414dcfceb75da10cc25ee55 /lisp/mail | |
| parent | 59f48b152ec199020fc6c92ee2bd06fae46afb1c (diff) | |
| download | emacs-fb359a2b218ca235f4f6d206bf3edfbe7743e764.tar.gz emacs-fb359a2b218ca235f4f6d206bf3edfbe7743e764.zip | |
(rmail-fontify-buffer-function): Do not use make-local-hook.
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/rmail.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 46a005d74ac..8da949e59c3 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -3549,7 +3549,6 @@ This has an effect only if a summary buffer exists." | |||
| 3549 | 3549 | ||
| 3550 | (defun rmail-fontify-buffer-function () | 3550 | (defun rmail-fontify-buffer-function () |
| 3551 | ;; This function's symbol is bound to font-lock-fontify-buffer-function. | 3551 | ;; This function's symbol is bound to font-lock-fontify-buffer-function. |
| 3552 | (make-local-hook 'rmail-show-message-hook) | ||
| 3553 | (add-hook 'rmail-show-message-hook 'rmail-fontify-message nil t) | 3552 | (add-hook 'rmail-show-message-hook 'rmail-fontify-message nil t) |
| 3554 | ;; If we're already showing a message, fontify it now. | 3553 | ;; If we're already showing a message, fontify it now. |
| 3555 | (if rmail-current-message (rmail-fontify-message)) | 3554 | (if rmail-current-message (rmail-fontify-message)) |