aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-browser.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-browser.el b/emms-browser.el
index 97d6aa5..08dd546 100644
--- a/emms-browser.el
+++ b/emms-browser.el
@@ -1441,7 +1441,7 @@ tracks from point, it does not delete files."
(setq path (emms-track-get track 'name))
(when delete
(delete-file path))
- (add-to-list 'dirs (file-name-directory path))
+ (cl-pushnew (file-name-directory path) dirs)
(emms-cache-del path))
;; remove the item from the browser
(when (emms-browser-tracks-at-point)