From ac4caff8b4cd6eadfb46c0d12b76ad3314cc1ecd Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 13 Jan 2015 22:45:49 -0800 Subject: [PATCH] email command/binding. --- dotfiles/emacs.d/init.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 7a301f8b..ac85b3bf 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -870,10 +870,15 @@ the same tree node, and the headline of the tree node in the Org-mode file." (add-to-list 'load-path (s-trim (shell-command-to-string "mu4e_directory"))) (use-package mu4e - :commands (mu4e mu4e-view-message-with-msgid mu4e-update-index) - :bind ("C-c 0" . mu4e~headers-jump-to-maildir) + :commands (mu4e mu4e-view-message-with-msgid mu4e-update-index email) + :bind ("C-c 0" . email) :config (progn + (defun email () + (interactive) + (persp-switch "email") + (unless (mu4e-running-p) + (mu4e))) ;; enable inline images (setq mu4e-view-show-images t) ;; show images