summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmailsum.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index b9cd9b6f4c3..095486d1e63 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -555,8 +555,8 @@ Commands for sorting the summary:
(setq rmail-summary-redo nil)
(make-local-variable 'revert-buffer-function)
(make-local-variable 'post-command-hook)
- (make-local-variable 'font-lock-keywords)
- (setq font-lock-keywords rmail-summary-font-lock-keywords)
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults '(rmail-summary-font-lock-keywords t))
(rmail-summary-enable)
(run-hooks 'rmail-summary-mode-hook))