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:
parent
f982f37d69
commit
b0df6465f8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue