aboutsummaryrefslogtreecommitdiff
path: root/emms-cache.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-cache.el')
-rw-r--r--emms-cache.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-cache.el b/emms-cache.el
index f95bab1..9b5deb8 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -111,11 +111,12 @@ This is used to cache over emacs sessions.")
(defun emms-cache-get (type path)
"Return a cache element for PATH, or nil."
+ (ignore type) ;; implicitly ignored before 2021-03-02
(gethash path emms-cache-db))
-;; Note we ignore TYPE, as it's stored in TRACK
(defun emms-cache-set (type path track)
"Set PATH to TRACK in the cache."
+ (ignore type) ;; implicitly ignored before 2021-03-02
(puthash path track emms-cache-db)
(emms-cache-dirty))