From b731dcde62afe28b03d4bf9cd2ca27693b82610a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 12 Feb 2016 17:23:43 +1100 Subject: [PATCH] Silence compilation warning in mm-view * lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence compilation warning. --- lisp/gnus/mm-view.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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. -- 2.39.2