From 333067d47bb5562a2340a6c9d8f267976d81403b Mon Sep 17 00:00:00 2001 From: Hans-Peter Deifel Date: Sat, 22 Feb 2020 10:50:22 +0100 Subject: [PATCH] mu4e: Fix quoting in M-q keybinding definition In the keybinding defintions for mu4e-view-mode-map, the variable mu4e-view-use-gnus was used quoted in an if condition, which means that the condition always evaluated to true. Therefore, M-q would always be bound to article-fill-long lines and never to mu4e-view-fill-long-lines. --- mu4e/mu4e-view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index e74af654..6743b2ca 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -861,7 +861,7 @@ FUNC should be a function taking two arguments: (define-key map (kbd "M-q") (lambda() (interactive) - (if 'mu4e-view-use-gnus + (if mu4e-view-use-gnus (article-fill-long-lines) (mu4e-view-fill-long-lines))))