diff options
author | forcer <forcer> | 2005-09-16 13:53:00 +0000 |
---|---|---|
committer | forcer <mwolson@gnu.org> | 2005-09-16 13:53:00 +0000 |
commit | ddc5477ea066880b471c7c5705429fa99d952efc (patch) | |
tree | 59b6f875cbf8f0e8970b19121235f71d733cb807 | |
parent | 9a310175d0c7f6af4088ba8a0425b97a40cc41b0 (diff) |
Be able to clear the playlist buffer even if it's killed.
darcs-hash:20050916135349-2189f-7586b026b430eea1471581360b0b5ae8e4a94614.gz
-rw-r--r-- | emms.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -431,7 +431,8 @@ If called interactively, the new buffer is also selected." (defun emms-playlist-clear () "Clear the current playlist. If no playlist exists, a new one is generated." - (if (not emms-playlist-buffer) + (if (or (not emms-playlist-buffer) + (not (buffer-live-p emms-playlist-buffer))) (setq emms-playlist-buffer (emms-playlist-new)) (with-current-buffer emms-playlist-buffer (let ((inhibit-read-only t)) |