diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2011-12-22 20:59:12 -0800 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-24 15:32:01 -0400 |
commit | c0d694035d128c1d80881878c269cd09f05794a5 (patch) | |
tree | 0df9a4f5a6a88bcd03994c4af6b817d2fbdf46ba /emacs | |
parent | 824dad76b6ae4a7e4a3ca41991af8e7d67f4cfd5 (diff) |
emacs: call notmuch-show instead of notmuch-search in buttonised id: links
Since message-ids necessarily match just a single message, there's no
reason to do a search for the id before viewing the actual message;
the search just becomes an extra screen to click through. Clicking on
an id: links now just jumps straight to the message itself.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch-show.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index b565f336..eee4da98 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -803,7 +803,7 @@ a corresponding notmuch search." (remove-overlays (match-beginning 0) (match-end 0) 'goto-address t) (make-text-button (match-beginning 0) (match-end 0) 'action `(lambda (arg) - (notmuch-search ,(match-string-no-properties 0))) + (notmuch-show ,(match-string-no-properties 0))) 'follow-link t 'help-echo "Mouse-1, RET: search for this message" 'face goto-address-mail-face)))) |