From: Eli Zaretskii <eliz@gnu.org>
Date: Fri, 3 Apr 2020 06:58:20 +0000 (+0300)
Subject: ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.
X-Git-Tag: emacs-27.0.91~44
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38731d504eb4675ff1c8a82f96cb90beced941d3;p=emacs.git

; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.
---

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,