(rmail-fontify-buffer-function): Do not use make-local-hook.

This commit is contained in:
Pavel Janík 2001-12-13 07:52:26 +00:00
parent 59f48b152e
commit fb359a2b21

View file

@ -3549,7 +3549,6 @@ This has an effect only if a summary buffer exists."
(defun rmail-fontify-buffer-function ()
;; This function's symbol is bound to font-lock-fontify-buffer-function.
(make-local-hook 'rmail-show-message-hook)
(add-hook 'rmail-show-message-hook 'rmail-fontify-message nil t)
;; If we're already showing a message, fontify it now.
(if rmail-current-message (rmail-fontify-message))