Open dmgerman opened 2 years ago
This might be useful to some of you. This code replaces the main mu4e view with the dashboard, but only if the dashboard has been loaded.
This assumes that there is a function mu4e-dashboard, which is part of #44
(defun dmg-mu4e-view (orig &rest args) (interactive) (if (find-buffer-visiting mu4e-dashboard-file) (mu4e-dashboard) (apply orig args) )) (advice-add 'mu4e--main-view :around #'dmg-mu4e-view)
It could be added into the documentation actually.
Hi, Just in case : mu4e&~main-view doesn't exist here. mu4e--main-viewdoes.
mu4e&~main-view
mu4e--main-view
This might be useful to some of you. This code replaces the main mu4e view with the dashboard, but only if the dashboard has been loaded.
This assumes that there is a function mu4e-dashboard, which is part of #44