]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-fontify-buffer-function): Do not use make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Thu, 13 Dec 2001 07:52:26 +0000 (07:52 +0000)
committerPavel Janík <Pavel@Janik.cz>
Thu, 13 Dec 2001 07:52:26 +0000 (07:52 +0000)
lisp/mail/rmail.el

index 46a005d74ac76806b23ad882c5e0b74f2824462f..8da949e59c389ba32438f20e78afa903c65a438d 100644 (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))