aboutsummaryrefslogtreecommitdiff
path: root/emms-playlist-mode.el
diff options
context:
space:
mode:
authorforcer <forcer>2005-09-18 15:38:00 +0000
committerforcer <mwolson@gnu.org>2005-09-18 15:38:00 +0000
commitfcf800bdfa668461ffc4003b73b884632b1c5e78 (patch)
tree4d78698639aa08cd6c40b150b29ce146eaa8b2fe /emms-playlist-mode.el
parent660a39312ab1506e5e11efec6af6e8f23892239e (diff)
Ignore read-onliness when opening a playlist-mode-buffer.
darcs-hash:20050918153818-2189f-741632f4e0094043b2a9b4a3b4795bbed4114582.gz
Diffstat (limited to 'emms-playlist-mode.el')
-rw-r--r--emms-playlist-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el
index 16a640f..5c81071 100644
--- a/emms-playlist-mode.el
+++ b/emms-playlist-mode.el
@@ -255,7 +255,8 @@ of the saved playlist inside."
(setq s (read (buffer-string))))
(kill-buffer buffer)
(with-current-buffer (emms-playlist-new name)
- (insert s)
+ (let ((inhibit-read-only t))
+ (insert s))
(emms-playlist-first)
(emms-playlist-select (point)))))