diff options
-rw-r--r-- | init.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -216,6 +216,12 @@ :config (add-hook 'org-capture-before-finalize-hook #'save-buffer) + (advice-add 'org-capture :around + (lambda (fn &rest args) + (when (derived-mode-p 'notmuch-show-mode) + (notmuch-show-stash-subject)) + (apply fn args))) + (require 'org-agenda) (require 'org-contacts)) |