aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/mm-view.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index ba77410a593..518b7403f96 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -497,9 +497,7 @@ If MODE is not set, try to find mode automatically."
497 ;; Do not fontify if the guess mode is fundamental. 497 ;; Do not fontify if the guess mode is fundamental.
498 (unless (or font-lock-mode 498 (unless (or font-lock-mode
499 (eq major-mode 'fundamental-mode)) 499 (eq major-mode 'fundamental-mode))
500 (if (fboundp 'font-lock-ensure) 500 (font-lock-ensure))))
501 (font-lock-ensure)
502 (font-lock-fontify-buffer)))))
503 (setq text (buffer-string)) 501 (setq text (buffer-string))
504 ;; Set buffer unmodified to avoid confirmation when killing the 502 ;; Set buffer unmodified to avoid confirmation when killing the
505 ;; buffer. 503 ;; buffer.