summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-view.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2004-10-21 23:10:28 +0000
committerMiles Bader <miles@gnu.org>2004-10-21 23:10:28 +0000
commitd5ddd795bdab373fe62ccfd099c270fd97da0964 (patch)
tree1b17d9d413fdbdeaaa082831b7f5be042707f82c /lisp/gnus/mm-view.el
parent13376c78309524643382d9d3697a086fc495e861 (diff)
downloademacs-d5ddd795bdab373fe62ccfd099c270fd97da0964.tar.gz
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-633
Merge from gnus--rel--5.10 Patches applied: * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-57 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-58 Update from CVS 2004-10-21 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/mm-view.el (mm-display-inline-fontify): Inhibit font-lock when running the major-mode function. 2004-10-21 Kevin Greiner <kevin.greiner@compsol.cc> * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc): Two of the converters have been backported to 'Gnus v5.11' from 'No Gnus v0.2'. Added a boolean check to not apply converters that apply to future versions of gnus.
Diffstat (limited to 'lisp/gnus/mm-view.el')
-rw-r--r--lisp/gnus/mm-view.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 9c22298c678..2b58d103ade 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -466,8 +466,12 @@
(progn
(buffer-disable-undo)
(mm-insert-part handle)
- (funcall mode)
(require 'font-lock)
+ ;; Inhibit font-lock this time (*-mode-hook might run
+ ;; `turn-on-font-lock') so that jit-lock may not turn off
+ ;; font-lock immediately after this.
+ (let ((font-lock-mode t))
+ (funcall mode))
(let ((font-lock-verbose nil))
;; I find font-lock a bit too verbose.
(font-lock-fontify-buffer))