From 94f104f74c6a7e14bacfda81cb50963a49fede74 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 5 Nov 2002 01:51:01 +0000 Subject: [PATCH] * mime-view.el (mime-view-insert-fontified-text-content): Make sure font-lock is loaded before using it. --- ChangeLog | 5 +++++ mime-view.el | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6a7a8af..83845ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-05 Katsumi Yamaoka + + * mime-view.el (mime-view-insert-fontified-text-content): Make + sure font-lock is loaded before using it. + 2002-10-26 Yoichi NAKAYAMA * mime-view.el (mime-preview-find-boundary-info): Fix logic. Do not diff --git a/mime-view.el b/mime-view.el index 5725d8e..68a0bc6 100644 --- a/mime-view.el +++ b/mime-view.el @@ -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)) -- 1.7.10.4