[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] BUG: emms-show-all-mode zaps window configuration on quit
From: |
Fran Burstall |
Subject: |
[emms-help] BUG: emms-show-all-mode zaps window configuration on quit |
Date: |
Wed, 13 Jun 2018 23:57:23 +0100 |
I have two windows open and do M-x emms-show-all. One
window is filled with track info. Now I hit 'q' to call
emms-show-all-mode-bury-buffer.
What I expect: the emms-show-all buffer to disappear and its
window to display whatever it displayed before I did M-x
emms-show-all.
What happens: the buffer and the window it was in both
disappear so I now only have one window.
Not passing the buffer name to bury-buffer (which will then
remove the buffer from the window) and not calling
delete-window fix this (at least to me) undesirable
behaviour.
Thus:
(defun emms-show-all-mode-bury-buffer ()
"Bury, and optionally kill the show buffer."
(interactive)
(bury-buffer)
;; (delete-window)
(when emms-show-all-kill-buffer-on-quit-p
(kill-buffer emms-show-all-buffer-name)))
---Fran
- [emms-help] BUG: emms-show-all-mode zaps window configuration on quit,
Fran Burstall <=