[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b731dcd 3/4: Silence compilation warning in mm-view
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master b731dcd 3/4: Silence compilation warning in mm-view |
Date: |
Fri, 12 Feb 2016 06:33:33 +0000 |
branch: master
commit b731dcde62afe28b03d4bf9cd2ca27693b82610a
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index ba77410..518b740 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.