Synch to Gnus 200410211255.
authoryamaoka <yamaoka>
Thu, 21 Oct 2004 12:56:12 +0000 (12:56 +0000)
committeryamaoka <yamaoka>
Thu, 21 Oct 2004 12:56:12 +0000 (12:56 +0000)
lisp/ChangeLog
lisp/mm-view.el

index 8560412..cfa81b4 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-view.el (mm-display-inline-fontify): Inhibit font-lock when
+       running the major-mode function.
+
 2004-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-sum.el (gnus-update-summary-mark-positions): Search for
index 4152011..133b3f6 100644 (file)
          (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))