emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emms 0fcea44 52/80: * emms-info.el: add lexical and rem


From: Stefan Monnier
Subject: [elpa] externals/emms 0fcea44 52/80: * emms-info.el: add lexical and remove unused lexical variable
Date: Wed, 17 Mar 2021 18:42:29 -0400 (EDT)

branch: externals/emms
commit 0fcea44f9f4f04c45f453f19c2e349b89c4a91d4
Author: Yoni Rabkin <yoni@rabkins.net>
Commit: Yoni Rabkin <yoni@rabkins.net>

    * 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]