diff options
author | Raul Benencia <id@rbenencia.name> | 2022-09-05 08:55:05 -0700 |
---|---|---|
committer | Raul Benencia <id@rbenencia.name> | 2022-09-05 08:55:05 -0700 |
commit | 12467f773d6516af67e17b24b6bb940650637413 (patch) | |
tree | ab021bb3dfa07e7167638d9e1f7db70df3cd6972 /.emacs.local.d/modes/notmuch.el | |
parent | 83dbdac4e80ee11f4498b26da2061c27373aae7d (diff) |
emacs: notmuch capture-mail
Diffstat (limited to '.emacs.local.d/modes/notmuch.el')
-rw-r--r-- | .emacs.local.d/modes/notmuch.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el index 208e051..b22ede3 100644 --- a/.emacs.local.d/modes/notmuch.el +++ b/.emacs.local.d/modes/notmuch.el @@ -35,6 +35,13 @@ ;; End upstream ;; Keymaps +(defun rul/capture-mail() + "Capture mail to org mode." + (interactive) + (org-store-link nil) + (org-capture nil "m") + ) +(bind-key "t" 'rul/capture-mail notmuch-show-mode-map) ; Spam (define-key notmuch-show-mode-map "S" |