diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2015-09-17 17:16:19 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2015-09-17 17:16:19 (GMT) |
| commit | 6f4fd3ca64e5a2a4c3a8be55781040b5621f25e9 (patch) | |
| tree | 86cfbf763db22ee7b2d82b6e47dd6be7b80796b1 | |
| parent | c70bd0d2ae138e313f50015c976c760c0cef32c7 (diff) | |
| download | dotemacs-6f4fd3ca64e5a2a4c3a8be55781040b5621f25e9.zip dotemacs-6f4fd3ca64e5a2a4c3a8be55781040b5621f25e9.tar.gz dotemacs-6f4fd3ca64e5a2a4c3a8be55781040b5621f25e9.tar.bz2 | |
Attach files more easily in mu
| -rw-r--r-- | lisp/ravi-init-mu.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ravi-init-mu.el b/lisp/ravi-init-mu.el index de87132..bd2f13e 100644 --- a/lisp/ravi-init-mu.el +++ b/lisp/ravi-init-mu.el @@ -172,6 +172,7 @@ (setq message-kill-buffer-on-exit t) (setq mu4e-compose-signature-auto-include nil) (bind-key "C-c C-d" 'ravi/erase-from-point mu4e-compose-mode-map) + ;; Allow attaching files from dired (require 'gnus-dired) ;; make the `gnus-dired-mail-buffers' function also work on @@ -189,6 +190,13 @@ (setq gnus-dired-mail-mode 'mu4e-user-agent) (add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode) + (when ravi/use-helm-instead-of-ido + (add-to-list 'helm-find-files-actions + '("Attach files for mu4e" . helm-mu4e-attach) t) + + (defun helm-mu4e-attach (_file) + (gnus-dired-attach (helm-marked-candidates)))) + (imagemagick-register-types) ) ) |
