aboutsummaryrefslogtreecommitdiff
path: root/emms-score.el
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2021-04-20 17:34:55 -0400
committerYoni Rabkin <yoni@rabkins.net>2021-04-20 17:34:55 -0400
commita51ac5b1fa967413d81530a722a5866eb43c4e4b (patch)
tree43dcf7f3389ae6091ec23f7b6c1dbbf14e6a9b8d /emms-score.el
parentf992e4c98b1d472acb802ea2a149f087c2656034 (diff)
Change the function quoting style to help the compiler.
Patch by Stefan Monnier
Diffstat (limited to 'emms-score.el')
-rw-r--r--emms-score.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/emms-score.el b/emms-score.el
index 1537322..e9fb530 100644
--- a/emms-score.el
+++ b/emms-score.el
@@ -1,7 +1,6 @@
;;; emms-score.el --- Scoring system for mp3player -*- lexical-binding: t; -*-
-;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008,
-;; 2009, 2018 Free Software Foundation, Inc.
+;; Copyright (C) 2003-2021 Free Software Foundation, Inc.
;; Authors: Jean-Philippe Theberge <jphiltheberge@videotron.ca>,
;; Yoni Rabkin <yrk@gnu.org>
@@ -88,13 +87,13 @@ off otherwise."
(progn
(setq emms-score-enabled-p t)
(emms-score-load-hash)
- (setq emms-ok-track-function 'emms-score-ok-track-function)
+ (setq emms-ok-track-function #'emms-score-ok-track-function)
(unless noninteractive
- (add-hook 'kill-emacs-hook 'emms-score-save-hash)))
+ (add-hook 'kill-emacs-hook #'emms-score-save-hash)))
(setq emms-score-enabled-p nil)
(emms-score-save-hash)
- (setq emms-ok-track-function 'emms-default-ok-track-function)
- (remove-hook 'kill-emacs-hook 'emms-score-save-hash)))
+ (setq emms-ok-track-function #'emms-default-ok-track-function)
+ (remove-hook 'kill-emacs-hook #'emms-score-save-hash)))
;;;###autoload
(defun emms-score-enable ()