--- mm-view.el~ 2005-08-28 21:51:06 +0000 +++ mm-view.el 2005-09-02 11:03:24 +0000 @@ -497,7 +497,11 @@ (funcall mode)) (let ((font-lock-verbose nil)) ;; I find font-lock a bit too verbose. - (font-lock-fontify-buffer)) + ;; FIXME: font-lock seems to work only when the buffer is visible. + (save-window-excursion + (set-window-buffer (selected-window) (current-buffer)) + (sit-for 0) + (font-lock-fontify-buffer))) ;; By default, XEmacs font-lock uses non-duplicable text ;; properties. This code forces all the text properties ;; to be copied along with the text.