diff options
author | Yoni Rabkin <yoni@rabkins.net> | 2021-03-05 11:32:15 -0500 |
---|---|---|
committer | Yoni Rabkin <yoni@rabkins.net> | 2021-03-05 11:32:15 -0500 |
commit | 60c6172fb0ec78fc70cf8329e9be5842c041107b (patch) | |
tree | 5f57bf224ea60af118a0a605ef7071eb4bcf1eda | |
parent | 6a5c7b14a0f30bcab9d1871d45d909bc9532e59c (diff) |
* emms-browser.el: add-to-list -> cl-pushnew
-rw-r--r-- | emms-browser.el | 2 |
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) |