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:
parent
db2534aa29
commit
ce6be8c1b1
1 changed files with 2 additions and 2 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue