aboutsummaryrefslogtreecommitdiff
path: root/emms-cache.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-cache.el')
-rw-r--r--emms-cache.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-cache.el b/emms-cache.el
index 939f0f0..9b5deb8 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -1,4 +1,4 @@
-;;; emms-cache.el --- persistence for emms-track
+;;; emms-cache.el --- persistence for emms-track -*- lexical-binding: t; -*-
;; Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -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))