]> code.delx.au - gnu-emacs/commitdiff
Silence compilation warning in mm-view
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Feb 2016 06:23:43 +0000 (17:23 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Feb 2016 06:23:43 +0000 (17:23 +1100)
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence
compilation warning.

lisp/gnus/mm-view.el

index ba77410a5932c901154258e1e11e46ced13ebfa4..518b7403f96454ceb793c68f26c6fa1ac9a000fe 100644 (file)
@@ -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.