aboutsummaryrefslogtreecommitdiff
path: root/emms-info.el
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2021-03-02 16:03:23 -0500
committerYoni Rabkin <yoni@rabkins.net>2021-03-02 16:03:23 -0500
commit0fcea44f9f4f04c45f453f19c2e349b89c4a91d4 (patch)
treedbd31e7707451d5f0e3b4a19db3d7262fa341bed /emms-info.el
parentd2640bdd25aca1ae3bcc7a68cc888cd20626ec4f (diff)
* emms-info.el: add lexical and remove unused lexical variable
Diffstat (limited to 'emms-info.el')
-rw-r--r--emms-info.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emms-info.el b/emms-info.el
index 382a324..9a49a5c 100644
--- a/emms-info.el
+++ b/emms-info.el
@@ -1,4 +1,4 @@
-;;; emms-info.el --- Retrieving track information
+;;; emms-info.el --- Retrieving track information -*- lexical-binding: t; -*-
;; Copyright (C) 2005-2020 Free Software Foundation, Inc.
@@ -92,8 +92,7 @@ This is a suitable value for `emms-track-initialize-functions'."
Return t when the track got changed."
(let ((file-mtime (when emms-info-auto-update
(emms-info-track-file-mtime track)))
- (info-mtime (emms-track-get track 'info-mtime))
- (name (emms-track-get track 'name)))
+ (info-mtime (emms-track-get track 'info-mtime)))
;; if the file's been modified or is new
(when (or (not file-mtime)