# HG changeset patch # User Pavel Jank # Date 1008229946 0 # Node ID 3ae5a751a34a08d98b24ea391c9b2c89d95374c0 # Parent b85c94030e4a9d58111137111a75c9061ccac6ff (rmail-fontify-buffer-function): Do not use make-local-hook. diff -r b85c94030e4a -r 3ae5a751a34a lisp/mail/rmail.el --- a/lisp/mail/rmail.el Thu Dec 13 07:51:46 2001 +0000 +++ b/lisp/mail/rmail.el Thu Dec 13 07:52:26 2001 +0000 @@ -3549,7 +3549,6 @@ (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))