aboutsummaryrefslogtreecommitdiff
path: root/emacs/settings/init-mu4e.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/settings/init-mu4e.el')
-rw-r--r--emacs/settings/init-mu4e.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/settings/init-mu4e.el b/emacs/settings/init-mu4e.el
index 59ffe6f..cc29e60 100644
--- a/emacs/settings/init-mu4e.el
+++ b/emacs/settings/init-mu4e.el
@@ -182,8 +182,9 @@
; As of 0.9.18 and GNU Emacs 25, the mu4e-action-with-xwidget can be used to
; render an HTML message with Webkit.
- (add-to-list 'mu4e-view-actions
- '("webkit" . mu4e-action-view-with-xwidget))
+ (if (>= emacs-major-version 25)
+ (add-to-list 'mu4e-view-actions
+ '("webkit" . mu4e-action-view-with-xwidget)))
;; Addings hooks for composing and viewing messages.