aboutsummaryrefslogtreecommitdiff
path: root/emms-cache.el
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2021-03-02 15:49:17 -0500
committerYoni Rabkin <yoni@rabkins.net>2021-03-02 15:49:17 -0500
commitb04ac714990732fab6b1978a4a8aa83fb861641d (patch)
tree408ff43d4f550a0c5f4417799f902743744f508f /emms-cache.el
parentd0c2888f504bffb94694c1790e45d40a6b92d93b (diff)
* emms-cache.el: explicit ignore
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))