From 3171e30301313fc2d22c0d2eca79d7be95f8c576 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 22 Sep 2012 23:46:57 +0800 Subject: [PATCH] * simple.el (read-only-mode): Doc fix. --- lisp/ChangeLog | 1 + lisp/simple.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2