* mu4e-view.el: don't try to kill the window when it's the last one
This commit is contained in:
@ -542,7 +542,9 @@ citations."
|
|||||||
(interactive)
|
(interactive)
|
||||||
(when (buffer-live-p mu4e-view-buffer)
|
(when (buffer-live-p mu4e-view-buffer)
|
||||||
(with-current-buffer mu4e-view-buffer
|
(with-current-buffer mu4e-view-buffer
|
||||||
(kill-buffer-and-window))))
|
(if (window-parent)
|
||||||
|
(kill-buffer-and-window)
|
||||||
|
(kill-buffer)))))
|
||||||
|
|
||||||
(defun mu4e-view-next-header ()
|
(defun mu4e-view-next-header ()
|
||||||
"View the next header."
|
"View the next header."
|
||||||
|
|||||||
Reference in New Issue
Block a user