summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-view.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-12 17:23:43 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-12 17:23:43 +1100
commitb731dcde62afe28b03d4bf9cd2ca27693b82610a (patch)
tree9e4b18749cbf6ddefc629c9ba8a11317d005f59e /lisp/gnus/mm-view.el
parent93c3363523be0df353ddd9653494bec8dc57fd8c (diff)
downloademacs-b731dcde62afe28b03d4bf9cd2ca27693b82610a.tar.gz
Silence compilation warning in mm-view
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence compilation warning.
Diffstat (limited to 'lisp/gnus/mm-view.el')
-rw-r--r--lisp/gnus/mm-view.el4
1 files changed, 1 insertions, 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.