mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
committed by
Henrik Lissner
parent
db2534aa29
commit
ce6be8c1b1
@ -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 ()
|
||||
|
Reference in New Issue
Block a user