aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/emms-streams.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emms-streams.el b/lisp/emms-streams.el
index 4f09e09..6dc2490 100644
--- a/lisp/emms-streams.el
+++ b/lisp/emms-streams.el
@@ -203,7 +203,7 @@ needed info.")
(set (make-local-variable 'next-line-add-newlines) nil)
(goto-char 1)
(emms-stream-display)
- (toggle-read-only 1)
+ (read-only-mode 1)
(run-hooks 'emms-stream-hook)
(set-buffer-modified-p nil)
(message "EMMS Stream Menu"))