diff options
author | forcer <forcer> | 2005-09-17 11:14:00 +0000 |
---|---|---|
committer | forcer <mwolson@gnu.org> | 2005-09-17 11:14:00 +0000 |
commit | 27c872628c0e7899af04e6d369b45d393e7ed69e (patch) | |
tree | 74aae9386833240333dd20f3ba29f6e41c698f64 | |
parent | 1d93684d37b6adda2be568a1c640534553a270e9 (diff) |
Inhibit read-only in `emms-playlist-insert-track'
darcs-hash:20050917111449-2189f-de933b63402b796f6c2de9a85492c7d2bb4491ad.gz
-rw-r--r-- | emms.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -683,7 +683,8 @@ If no playlist exists, a new one is generated." (defun emms-playlist-insert-track (track) "Insert TRACK at the current position into the playlist. This uses `emms-playlist-insert-track-function'." - (funcall emms-playlist-insert-track-function track)) + (let ((inhibit-read-only t)) + (funcall emms-playlist-insert-track-function track))) (defun emms-playlist-insert-source (source &rest args) "Insert tracks from SOURCE, supplying ARGS as arguments." |