emacs: Remove v command

This removes the v command, since we now have much nicer part commands,
and deprecates the underlying notmuch-show-view-all-mime-parts.  This
also means that people who try using the old unprefixed 'v' command on
a part button will no longer be greeted by ALL of their parts popping
up.
This commit is contained in:
Austin Clements 2013-06-03 11:54:55 -04:00 committed by David Bremner
parent c1a42652a1
commit eb7d096edc

View file

@ -213,6 +213,9 @@ For example, if you wanted to remove an \"unread\" tag and add a
"Enable Visual Line mode." "Enable Visual Line mode."
(visual-line-mode t)) (visual-line-mode t))
;; DEPRECATED in Notmuch 0.16 since we now have convenient part
;; commands. We'll keep the command around for a version or two in
;; case people want to bind it themselves.
(defun notmuch-show-view-all-mime-parts () (defun notmuch-show-view-all-mime-parts ()
"Use external viewers to view all attachments from the current message." "Use external viewers to view all attachments from the current message."
(interactive) (interactive)
@ -1272,7 +1275,6 @@ reset based on the original query."
(define-key map "|" 'notmuch-show-pipe-message) (define-key map "|" 'notmuch-show-pipe-message)
(define-key map "w" 'notmuch-show-save-attachments) (define-key map "w" 'notmuch-show-save-attachments)
(define-key map "V" 'notmuch-show-view-raw-message) (define-key map "V" 'notmuch-show-view-raw-message)
(define-key map "v" 'notmuch-show-view-all-mime-parts)
(define-key map "c" 'notmuch-show-stash-map) (define-key map "c" 'notmuch-show-stash-map)
(define-key map "=" 'notmuch-show-refresh-view) (define-key map "=" 'notmuch-show-refresh-view)
(define-key map "h" 'notmuch-show-toggle-visibility-headers) (define-key map "h" 'notmuch-show-toggle-visibility-headers)