fix(mu4e): Do not shadow mu4e arguments

`(mu4e)` accepts an optional argument, `background`, which is useful if
you want to jump straight to `mu4e-headers-mode`. `=mu4e` should pass it on.
This commit is contained in:
Thomas Bergheim 2022-11-16 22:14:17 +01:00 committed by Henrik Lissner
parent db2534aa29
commit ce6be8c1b1

View file

@ -52,7 +52,7 @@ default/fallback account."
(add-hook 'mu4e-main-mode-hook #'+mu4e-init-h)
;;;###autoload
(defun =mu4e ()
(defun =mu4e (&optional background)
"Start email client."
(interactive)
(require 'mu4e)
@ -91,7 +91,7 @@ default/fallback account."
(switch-to-buffer view-buffer)
(if (and headers-buffer (not (eq headers-buffer (current-buffer))))
(switch-to-buffer headers-buffer)
(mu4e))))))
(mu4e background))))))
;;;###autoload
(defun +mu4e/compose ()