diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-12 17:23:43 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-12 17:23:43 +1100 |
commit | b731dcde62afe28b03d4bf9cd2ca27693b82610a (patch) | |
tree | 9e4b18749cbf6ddefc629c9ba8a11317d005f59e /lisp/gnus/mm-view.el | |
parent | 93c3363523be0df353ddd9653494bec8dc57fd8c (diff) | |
download | emacs-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.el | 4 |
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. |