aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-09-22 23:46:57 +0800
committerChong Yidong2012-09-22 23:46:57 +0800
commit3171e30301313fc2d22c0d2eca79d7be95f8c576 (patch)
treead96db3a5f47f79cb7e77590675cca2a142a103c
parent3df47cd5f62a0d8ddc12581f3ef32bfff16b6bbf (diff)
downloademacs-3171e30301313fc2d22c0d2eca79d7be95f8c576.tar.gz
emacs-3171e30301313fc2d22c0d2eca79d7be95f8c576.zip
* simple.el (read-only-mode): Doc fix.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/simple.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 973d920c373..9278c778636 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -9,6 +9,7 @@
9 (Bug#10909). 9 (Bug#10909).
10 10
11 * simple.el (shell-command-on-region): Doc fix. 11 * simple.el (shell-command-on-region): Doc fix.
12 (read-only-mode): Doc fix.
12 13
132012-09-22 Eli Zaretskii <eliz@gnu.org> 142012-09-22 Eli Zaretskii <eliz@gnu.org>
14 15
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
6971and `view-read-only' is non-nil, enter view mode. 6971and `view-read-only' is non-nil, enter view mode.
6972 6972
6973Do not call this from a Lisp program unless you really intend to 6973Do not call this from a Lisp program unless you really intend to
6974do the same thing as the \\[toggle-read-only] command, including 6974do the same thing as the \\[read-only-mode] command, including
6975possibly enabling or disabling View mode. Also, note that this 6975possibly enabling or disabling View mode. Also, note that this
6976command works by setting the variable `buffer-read-only', which 6976command works by setting the variable `buffer-read-only', which
6977does not affect read-only regions caused by text properties. To 6977does not affect read-only regions caused by text properties. To