* 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
1 changed files with 9 additions and 8 deletions

View File

@ -352,7 +352,7 @@ if IS-OPEN is nil, and otherwise open it."
(use-local-map mu4e-view-mode-map)
(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-lines-wrapped)
@ -540,7 +540,8 @@ citations."
(defun mu4e-view-kill-buffer-and-window ()
"Quit the message view and return to the headers."
(interactive)
(mu4e-kill-buffer-and-window mu4e-view-buffer))
(with-current-buffer mu4e-view-buffer
(kill-buffer-and-window)))
(defun mu4e-view-next-header ()
"View the next header."