From: yamaoka Date: Tue, 5 Nov 2002 01:51:01 +0000 (+0000) Subject: * mime-view.el (mime-view-insert-fontified-text-content): Make sure font-lock X-Git-Tag: emiko-1_14-epg-branchpoint~46 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=94f104f74c6a7e14bacfda81cb50963a49fede74;p=elisp%2Fsemi.git * mime-view.el (mime-view-insert-fontified-text-content): Make sure font-lock is loaded before using it. --- 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))