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.
This commit is contained in:
Hans-Peter Deifel 2020-02-22 10:50:22 +01:00
parent 650c4c052d
commit 333067d47b
1 changed files with 1 additions and 1 deletions

View File

@ -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))))