The following tiny (2 characters actually) patch would cause
`emms-playlist-save' to interactively ask for confirmation before
overwriting an existing playlist. I would like this feature.
Anyone think this isn't good? If everyone is OK with this I'll commit it
in a few days.
>From 7fc8b467f6f8c1dbabc522d996b583fa12fe7af1 Mon Sep 17 00:00:00 2001
From: Yoni Rabkin <[EMAIL PROTECTED]>
Date: Fri, 29 Aug 2008 14:10:09 +0300
Subject: [PATCH] Ask for confirmation before overwriting an existing playlist.
Signed-off-by: Yoni Rabkin <[EMAIL PROTECTED]>
---
lisp/emms-source-playlist.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/emms-source-playlist.el b/lisp/emms-source-playlist.el
index 35ed254..63ca79b 100644
--- a/lisp/emms-source-playlist.el
+++ b/lisp/emms-source-playlist.el
@@ -139,7 +139,7 @@ The default format is specified by `emms-source-playlist-default-format'."
(current-buffer))
(current-buffer))
(let ((backup-inhibited t))
- (write-file file))))
+ (write-file file t))))
(defun emms-source-playlist-determine-format (&optional parse-files)
"Determine the playlist format of the current buffer.
--
1.5.2.5
--
"Cut your own wood and it will warm you twice"
_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help