diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-03-10 17:07:25 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-03-10 17:07:25 -0500 |
commit | 9282b38a885714c3b4d4d79a8556b002d8b36987 (patch) | |
tree | 1e927b3ef98cbd72e444253eb221c8516d7c3657 | |
parent | b9526cbe3708190236e78f972ed690b43baf0e60 (diff) | |
download | emacs.d-9282b38a885714c3b4d4d79a8556b002d8b36987.tar.gz |
notmuch: Reverse meaning of argument for forwarding commands
-rw-r--r-- | init.el | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -2049,6 +2049,18 @@ (setq notmuch-wash-citation-lines-prefix 10) (setq notmuch-wash-citation-lines-suffix 10) + (advice-add + 'notmuch-show-forward-message :around + (lambda (fn &optional prompt-for-sender) + (funcall fn (not prompt-for-sender))) + '((name . "notmuch-show-forward-message--reverse-arg"))) + + (advice-add + 'notmuch-show-forward-open-messages :around + (lambda (fn &optional prompt-for-sender) + (funcall fn (not prompt-for-sender))) + '((name . "notmuch-show-forward-open-messages--reverse-arg"))) + (define-key notmuch-common-keymap "d" #'notmuch-jump-search) (define-key notmuch-message-mode-map (kbd "C-c C-s") nil) (define-key notmuch-show-mode-map "v" #'org-capture) |