aboutsummaryrefslogtreecommitdiff
path: root/emms.el
diff options
context:
space:
mode:
authorforcer <forcer>2005-09-17 11:14:00 +0000
committerforcer <mwolson@gnu.org>2005-09-17 11:14:00 +0000
commit27c872628c0e7899af04e6d369b45d393e7ed69e (patch)
tree74aae9386833240333dd20f3ba29f6e41c698f64 /emms.el
parent1d93684d37b6adda2be568a1c640534553a270e9 (diff)
Inhibit read-only in `emms-playlist-insert-track'
darcs-hash:20050917111449-2189f-de933b63402b796f6c2de9a85492c7d2bb4491ad.gz
Diffstat (limited to 'emms.el')
-rw-r--r--emms.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms.el b/emms.el
index 18c0edb..aed5e28 100644
--- a/emms.el
+++ b/emms.el
@@ -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."