branch: externals/emms
commit 0fcea44f9f4f04c45f453f19c2e349b89c4a91d4
Author: Yoni Rabkin <[email protected]>
Commit: Yoni Rabkin <[email protected]>
* emms-info.el: add lexical and remove unused lexical variable
---
emms-info.el | 5 ++---
1 file 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)