mm-view.el (mm-display-inline-fontify): Do not fontify with fundamental-mode.
This commit is contained in:
parent
0f0c1f27a9
commit
1c412c000a
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-01 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* mm-view.el (mm-display-inline-fontify): Do not fontify with
|
||||
fundamental-mode.
|
||||
|
||||
2011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* gnus-sum.el (gnus-update-marks): Revert intersection change, which
|
||||
|
|
|
@ -608,7 +608,9 @@ If MODE is not set, try to find mode automatically."
|
|||
(funcall mode)
|
||||
(set-auto-mode))
|
||||
;; The mode function might have already turned on font-lock.
|
||||
(unless (symbol-value 'font-lock-mode)
|
||||
;; Do not fontify if the guess mode is fundamental.
|
||||
(unless (or (symbol-value 'font-lock-mode)
|
||||
(eq major-mode 'fundamental-mode))
|
||||
(font-lock-fontify-buffer)))
|
||||
;; By default, XEmacs font-lock uses non-duplicable text
|
||||
;; properties. This code forces all the text properties
|
||||
|
|
Loading…
Add table
Reference in a new issue