aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Danjou2011-04-01 14:24:22 +0000
committerKatsumi Yamaoka2011-04-01 14:24:22 +0000
commit1c412c000a5d61d1be7f6fa7e632a517b89de95b (patch)
tree8bf98ceae3a9276267166c20713490e343d0e8da
parent0f0c1f27a974ee41d96f19a5930e54f14e41ba89 (diff)
downloademacs-1c412c000a5d61d1be7f6fa7e632a517b89de95b.tar.gz
emacs-1c412c000a5d61d1be7f6fa7e632a517b89de95b.zip
mm-view.el (mm-display-inline-fontify): Do not fontify with fundamental-mode.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/mm-view.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2496453dd89..37faf83fd12 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12011-04-01 Julien Danjou <julien@danjou.info>
2
3 * mm-view.el (mm-display-inline-fontify): Do not fontify with
4 fundamental-mode.
5
12011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org> 62011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * gnus-sum.el (gnus-update-marks): Revert intersection change, which 8 * gnus-sum.el (gnus-update-marks): Revert intersection change, which
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index abd78b8de02..5a90f015aed 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -608,7 +608,9 @@ If MODE is not set, try to find mode automatically."
608 (funcall mode) 608 (funcall mode)
609 (set-auto-mode)) 609 (set-auto-mode))
610 ;; The mode function might have already turned on font-lock. 610 ;; The mode function might have already turned on font-lock.
611 (unless (symbol-value 'font-lock-mode) 611 ;; Do not fontify if the guess mode is fundamental.
612 (unless (or (symbol-value 'font-lock-mode)
613 (eq major-mode 'fundamental-mode))
612 (font-lock-fontify-buffer))) 614 (font-lock-fontify-buffer)))
613 ;; By default, XEmacs font-lock uses non-duplicable text 615 ;; By default, XEmacs font-lock uses non-duplicable text
614 ;; properties. This code forces all the text properties 616 ;; properties. This code forces all the text properties