emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 38731d5: ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>:


From: Eli Zaretskii
Subject: emacs-27 38731d5: ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.
Date: Fri, 3 Apr 2020 02:59:29 -0400 (EDT)

branch: emacs-27
commit 38731d504eb4675ff1c8a82f96cb90beced941d3
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.
---
 src/buffer.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/buffer.c b/src/buffer.c
index 5c65d4d..92ed405 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]