diff options
Diffstat (limited to 'emacs/init.org')
| -rw-r--r-- | emacs/init.org | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org index ef37576..3af3ab1 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -1209,6 +1209,20 @@ These are the defaults: (:subject . nil))) #+END_SRC +Add as a header action to toggle gnus mode for the view mode. I'm doing this +because this is way better to visualize attached .eml emails. + +#+BEGIN_SRC elisp +(defun mssola-toggle-gnus-mode (msg) + "Toggle gnus on view mode from now on." + (if mu4e-view-use-gnus + (setq mu4e-view-use-gnus nil) + (setq mu4e-view-use-gnus t))) + +(add-to-list 'mu4e-headers-actions + '("gnus mode toggle" . mssola-toggle-gnus-mode) t) +#+END_SRC + Show images #+BEGIN_SRC elisp |
