From 917d1105647929fd6e0c7034b859266c26008ef8 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 19 Dec 2016 10:57:32 +0100 Subject: emacs: some minor updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/settings/init-mu4e.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs/settings/init-mu4e.el') 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. -- cgit v1.2.3