The markers do not need to span the full width anymore.
[elisp.git] / media.el
index ebddca7..2e60e47 100644 (file)
--- a/media.el
+++ b/media.el
@@ -109,7 +109,7 @@ title to display in the list (convenient for internet radios)."
   :group 'media)
 
 (defcustom media/expert nil
   :group 'media)
 
 (defcustom media/expert nil
-  "Should the keymap help be shown?"
+  "Should we bypass the keymap help when starting"
   :type 'boolean
   :group 'media)
 
   :type 'boolean
   :group 'media)
 
@@ -666,8 +666,7 @@ returns nil if no id3 tags could be found."
               (push (cons url (cons title time)) (cdr (assoc playlist list)))
               )))))
 
               (push (cons url (cons title time)) (cdr (assoc playlist list)))
               )))))
 
-    (save-excursion
-      (set-buffer (find-file-noselect media/playlist-file))
+    (with-current-buffer (find-file-noselect media/playlist-file)
       (erase-buffer)
       (mapc (lambda (x)
               (insert "PLAYLIST:" (car x) "\n")
       (erase-buffer)
       (mapc (lambda (x)
               (insert "PLAYLIST:" (car x) "\n")