Remove duplicate overwrite confirmation when updating playlist

We explicitly ask for confirmation already, no need to let EMMS ask again.
This commit is contained in:
Daniel - 2021-02-24 14:03:17 +01:00
parent f982f37d69
commit b0df6465f8
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ OVERWRITE is non-nil."
(split-string match-expression))))))) (split-string match-expression)))))))
(if (not (zerop return-code)) (if (not (zerop return-code))
(error "%s" output) (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-temp-playlist-buffer (emms-playlist-new " *EMMS Playlist Export*"))
(emms-info-asynchronously nil)) (emms-info-asynchronously nil))
(with-current-buffer emms-temp-playlist-buffer (with-current-buffer emms-temp-playlist-buffer