* mime-view.el (mime-view-insert-fontified-text-content): Make sure font-lock
authoryamaoka <yamaoka>
Tue, 5 Nov 2002 01:51:01 +0000 (01:51 +0000)
committeryamaoka <yamaoka>
Tue, 5 Nov 2002 01:51:01 +0000 (01:51 +0000)
 is loaded before using it.

ChangeLog
mime-view.el

index 6a7a8af..83845ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-05  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mime-view.el (mime-view-insert-fontified-text-content): Make
+       sure font-lock is loaded before using it.
+
 2002-10-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * mime-view.el (mime-preview-find-boundary-info): Fix logic. Do not
index 5725d8e..68a0bc6 100644 (file)
@@ -983,6 +983,7 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYPE or t.  t means default."
                        (setq buffer-file-name filename)
                        (set-auto-mode))
                    (setq buffer-file-name nil))))
+           (require 'font-lock)
            (let ((font-lock-verbose nil))
              ;; I find font-lock a bit too verbose.
              (font-lock-fontify-buffer))