branch: externals/emms
commit 2c902ddbab99f55a8d1ef047a9a403d4e6f61d02
Author: Johnathan Rabkin <[email protected]>
Commit: Johnathan Rabkin <[email protected]>

    * emms-cache.el: Add missing lexical binding.
    
    Add missing lexical binding ahead of it being a requirement in Emacs
    31. Suggested by Bastian Hussi <[email protected]>.
---
 emms-cache.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emms-cache.el b/emms-cache.el
index 0b52bbbce2..7deb9c9e8c 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -134,7 +134,7 @@ This is used to cache over emacs sessions.")
       (insert
        (concat ";;; .emms-cache -*- mode: emacs-lisp; coding: "
                (symbol-name emms-cache-file-coding-system)
-               "; -*-\n"))
+               "; lexical-binding: t; -*-\n"))
       (maphash (lambda (k v)
                 (insert (format
                           "(puthash %S '%S emms-cache-db)\n" k v)))

Reply via email to