* mu4e-view.el: fix closing, some cosmetics

This commit is contained in:
djcb
2012-04-11 02:08:32 +03:00
parent 250026f2d6
commit c090716509

View File

@ -352,7 +352,7 @@ if IS-OPEN is nil, and otherwise open it."
(use-local-map mu4e-view-mode-map) (use-local-map mu4e-view-mode-map)
(make-local-variable 'mu4e-hdrs-buffer) (make-local-variable 'mu4e-hdrs-buffer)
(make-local-variable 'mu4e-current-msg) ;;(make-local-variable 'mu4e-current-msg)
(make-local-variable 'mu4e-link-map) (make-local-variable 'mu4e-link-map)
(make-local-variable 'mu4e-lines-wrapped) (make-local-variable 'mu4e-lines-wrapped)
@ -540,7 +540,8 @@ citations."
(defun mu4e-view-kill-buffer-and-window () (defun mu4e-view-kill-buffer-and-window ()
"Quit the message view and return to the headers." "Quit the message view and return to the headers."
(interactive) (interactive)
(mu4e-kill-buffer-and-window mu4e-view-buffer)) (with-current-buffer mu4e-view-buffer
(kill-buffer-and-window)))
(defun mu4e-view-next-header () (defun mu4e-view-next-header ()
"View the next header." "View the next header."