From: Chong Yidong Date: Sat, 22 Sep 2012 15:46:57 +0000 (+0800) Subject: * simple.el (read-only-mode): Doc fix. X-Git-Tag: emacs-24.2.90~252 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3171e30301313fc2d22c0d2eca79d7be95f8c576;p=emacs.git * simple.el (read-only-mode): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 973d920c373..9278c778636 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -9,6 +9,7 @@ (Bug#10909). * simple.el (shell-command-on-region): Doc fix. + (read-only-mode): Doc fix. 2012-09-22 Eli Zaretskii diff --git a/lisp/simple.el b/lisp/simple.el index 8ddbac33d00..e1b8f37e46c 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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