From bb2fd85e513a6a51c1f7c61a7940da8c05291e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renaud=20Casenave-P=C3=A9r=C3=A9?= Date: Tue, 6 Sep 2011 16:21:22 +0900 Subject: [PATCH] Kill the log buffer when empc quits. --- empc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/empc.el b/empc.el index ced853f..d15999f 100644 --- a/empc.el +++ b/empc.el @@ -210,7 +210,8 @@ SERVICE is the name of the service desired, or an integer specifying "Close OBJECT: delete the process and kill the buffers." (let ((buffer (process-buffer (empc-process object)))) (delete-process (empc-process object)) - (kill-buffer buffer))) + (kill-buffer buffer) + (kill-buffer (empc-log object)))) (defvar empc-song-format '(time "\t" (if (and artist title) (concat artist " - " title) file)) "Format used to express songs in playlist and browser.