From b6f54946013cb6ef04745372dad0fdacb5e344a9 Mon Sep 17 00:00:00 2001 From: TEC Date: Thu, 22 Oct 2020 00:24:26 +0800 Subject: [PATCH] Mu4e: Avoid conflict in mu4e view action name The HTML and PDF views already bind to v/V --- modules/email/mu4e/config.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index 304c51b9c..79c6c9ecf 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -157,6 +157,8 @@ ;; Html mails might be better rendered in a browser (add-to-list 'mu4e-view-actions '("View in browser" . mu4e-action-view-in-browser)) + (when (fboundp 'make-xwidget) + (add-to-list 'mu4e-view-actions '("xwidgets view" . mu4e-action-view-with-xwidget))) ;; The header view needs a certain amount of horizontal space to ;; actually show you all the information you want to see @@ -173,10 +175,6 @@ (when (fboundp 'imagemagick-register-types) (imagemagick-register-types)) - (when (fboundp 'make-xwidget) - (push '("view with xwidgets" . mu4e-action-view-with-xwidget) - mu4e-view-actions)) - (map! :map mu4e-main-mode-map :ne "h" #'+workspace/other)