aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlucas <lucas>2005-09-16 11:39:00 +0000
committerlucas <mwolson@gnu.org>2005-09-16 11:39:00 +0000
commit9a310175d0c7f6af4088ba8a0425b97a40cc41b0 (patch)
treec2c3330ce13a611d9bab46cadbeaff27d44e6546
parent1690b1313085fecc75755498fd4bb59ed9edcadb (diff)
Adding emms-playlist-save-active-as-m3u
darcs-hash:20050916113946-4f952-51f4f9f76f02bb36c32e9979cad37b4ab391f6f2.gz
-rw-r--r--emms.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emms.el b/emms.el
index 224f0bb..ccb6d7b 100644
--- a/emms.el
+++ b/emms.el
@@ -507,6 +507,11 @@ If no playlist exists, a new one is generated."
(save-buffer)
(kill-buffer (current-buffer)))))
+(defun emms-playlist-save-active-as-m3u (filename)
+ "Save the active EMMS playlist in m3u format."
+ (interactive "FFile to save playlist as: ")
+ (emms-playlist-save-as-m3u emms-playlist-buffer filename))
+
;;; Point movement within the playlist buffer.
(defun emms-playlist-track-at (&optional pos)