summaryrefslogtreecommitdiffhomepage
path: root/lib/media
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-23 01:03:24 +0100
committerjao <jao@gnu.org>2022-09-23 01:04:05 +0100
commit2df3fe0fdf6aa61b5f5da3f1b623742d66395fb6 (patch)
treee12848bfbae28dfef4a22c33702e265f75fae99b /lib/media
parent1a8208e0b7d17ec79179a0baa9cb4ced9e104cf6 (diff)
downloadelibs-2df3fe0fdf6aa61b5f5da3f1b623742d66395fb6.tar.gz
elibs-2df3fe0fdf6aa61b5f5da3f1b623742d66395fb6.tar.bz2
toogle-read-only -> read-only-mode
Diffstat (limited to 'lib/media')
-rw-r--r--lib/media/jao-lyrics.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/media/jao-lyrics.el b/lib/media/jao-lyrics.el
index 5008fae..985c9d9 100644
--- a/lib/media/jao-lyrics.el
+++ b/lib/media/jao-lyrics.el
@@ -76,7 +76,7 @@
(use-local-map jao-lyrics-mode-map)
(setq major-mode 'jao-lyrics-mode)
(setq mode-name "lyrics")
- (toggle-read-only 1))
+ (read-only-mode))
(defun jao-lyrics-buffer ()
(or (get-buffer "*Lyrics*")