Remove duplicate overwrite confirmation when updating playlist

We explicitly ask for confirmation already, no need to let EMMS ask again.
master
Daniel Borchmann 2 years ago
parent f982f37d69
commit b0df6465f8
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 2
      site-lisp/db-music.el

@ -187,7 +187,7 @@ OVERWRITE is non-nil."
(split-string match-expression)))))))
(if (not (zerop return-code))
(error "%s" output)
(let ((emms-source-playlist-ask-before-overwrite (not overwrite))
(let ((emms-source-playlist-ask-before-overwrite nil)
(emms-temp-playlist-buffer (emms-playlist-new " *EMMS Playlist Export*"))
(emms-info-asynchronously nil))
(with-current-buffer emms-temp-playlist-buffer

Loading…
Cancel
Save