contrib: pick: add in binding to view raw message
authorMark Walters <markwalters1009@gmail.com>
Thu, 22 Aug 2013 17:10:25 +0000 (18:10 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 24 Aug 2013 09:19:14 +0000 (11:19 +0200)
Note this does rely on the fact that we have over-ridden notmuch-show-get-properties

contrib/notmuch-pick/notmuch-pick.el

index 344609f8b93b7a44d2e88652b7c221c467b307e5..6e71fef8677b4867faf0e227c8d8b8518eab1ead 100644 (file)
@@ -236,6 +236,7 @@ FUNC."
     (define-key map "e" (notmuch-pick-to-message-pane #'notmuch-pick-button-activate))
 
     ;; bindings from show (or elsewhere) but we close the message pane first.
+    (define-key map "V" (notmuch-pick-close-message-pane-and #'notmuch-show-view-raw-message))
     (define-key map "?" (notmuch-pick-close-message-pane-and #'notmuch-help))
 
     ;; The main pick bindings