* simple.el (read-only-mode): Doc fix.
authorChong Yidong <cyd@gnu.org>
Sat, 22 Sep 2012 15:46:57 +0000 (23:46 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 22 Sep 2012 15:46:57 +0000 (23:46 +0800)
lisp/ChangeLog
lisp/simple.el

index 973d920..9278c77 100644 (file)
@@ -9,6 +9,7 @@
        (Bug#10909).
 
        * simple.el (shell-command-on-region): Doc fix.
+       (read-only-mode): Doc fix.
 
 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
 
index 8ddbac3..e1b8f37 100644 (file)
@@ -6971,7 +6971,7 @@ positive, otherwise make it writable.  If buffer is read-only
 and `view-read-only' is non-nil, enter view mode.
 
 Do not call this from a Lisp program unless you really intend to
-do the same thing as the \\[toggle-read-only] command, including
+do the same thing as the \\[read-only-mode] command, including
 possibly enabling or disabling View mode.  Also, note that this
 command works by setting the variable `buffer-read-only', which
 does not affect read-only regions caused by text properties.  To