aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-streams.el
diff options
context:
space:
mode:
authorYoni Rabkin <yrk@gnu.org>2016-12-22 17:46:36 -0500
committerYoni Rabkin <yrk@gnu.org>2016-12-22 17:46:36 -0500
commitdde22abffb7a47adfe2cf98e4505ac0048e0b5fd (patch)
tree195109e9717b1cab1c5cf1e7a52dc4222647de3b /lisp/emms-streams.el
parent1a2df61904b4d35a1c098fa0d11573b8ca61036e (diff)
* lisp/emms-streams.el: replace obsolete function.
`toggle-read-only' is obsolete. Use `read-only-mode' instead.
Diffstat (limited to 'lisp/emms-streams.el')
-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"))