summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-04-03 09:58:20 +0300
committerEli Zaretskii <eliz@gnu.org>2020-04-03 09:58:20 +0300
commit38731d504eb4675ff1c8a82f96cb90beced941d3 (patch)
tree732fb02482206bd652065514adc1bad4fe908f0d
parent44ac9e48bbdb9e8546a7cb330ae8875cf093b505 (diff)
downloademacs-38731d504eb4675ff1c8a82f96cb90beced941d3.tar.gz
; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.
-rw-r--r--src/buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 5c65d4d4d19..92ed405b6f7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6234,10 +6234,10 @@ Lisp programs may give this variable certain special values:
DEFVAR_LISP ("inhibit-read-only", Vinhibit_read_only,
doc: /* Non-nil means disregard read-only status of buffers or characters.
-If the value is t, disregard `buffer-read-only' and all `read-only'
-text properties. If the value is a list, disregard `buffer-read-only'
-and disregard a `read-only' text property if the property value
-is a member of the list. */);
+A non-nil value that is a list means disregard `buffer-read-only' status,
+and disregard a `read-only' text property if the property value is a
+member of the list. Any other non-nil value means disregard `buffer-read-only'
+and all `read-only' text properties. */);
Vinhibit_read_only = Qnil;
DEFVAR_PER_BUFFER ("cursor-type", &BVAR (current_buffer, cursor_type), Qnil,