-(defun notmuch-pick-setup-show-out ()
- "Set up the keymap for showing a thread
-
-This uses the value of the defcustom notmuch-pick-show-out to
-decide whether to show a message in the message pane or in the
-whole window."
- (let ((map notmuch-pick-mode-map))
- (if notmuch-pick-show-out
- (progn
- (define-key map (kbd "M-RET") 'notmuch-pick-show-message)
- (define-key map (kbd "RET") 'notmuch-pick-show-message-out))
- (progn
- (define-key map (kbd "RET") 'notmuch-pick-show-message)
- (define-key map (kbd "M-RET") 'notmuch-pick-show-message-out)))))
-