From: Lars Ingebrigtsen Date: Fri, 12 Feb 2016 06:23:43 +0000 (+1100) Subject: Silence compilation warning in mm-view X-Git-Tag: emacs-26.0.90~2609 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b731dcde62afe28b03d4bf9cd2ca27693b82610a;p=emacs.git Silence compilation warning in mm-view * lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence compilation warning. --- diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index ba77410a593..518b7403f96 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -497,9 +497,7 @@ If MODE is not set, try to find mode automatically." ;; Do not fontify if the guess mode is fundamental. (unless (or font-lock-mode (eq major-mode 'fundamental-mode)) - (if (fboundp 'font-lock-ensure) - (font-lock-ensure) - (font-lock-fontify-buffer))))) + (font-lock-ensure)))) (setq text (buffer-string)) ;; Set buffer unmodified to avoid confirmation when killing the ;; buffer.