diff options
Diffstat (limited to 'lisp/emms-score.el')
-rw-r--r-- | lisp/emms-score.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emms-score.el b/lisp/emms-score.el index 71e65a3..78e17db 100644 --- a/lisp/emms-score.el +++ b/lisp/emms-score.el @@ -89,7 +89,8 @@ off otherwise." (setq emms-score-enabled-p t) (setq emms-player-next-function 'emms-score-next-noerror) (emms-score-load-hash) - (add-hook 'kill-emacs-hook 'emms-score-save-hash)) + (unless noninteractive + (add-hook 'kill-emacs-hook 'emms-score-save-hash))) (setq emms-score-enabled-p nil) (setq emms-player-next-function 'emms-next-noerror) (emms-score-save-hash) |