]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Fri, 3 Apr 2020 06:58:20 +0000 (09:58 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 3 Apr 2020 06:58:20 +0000 (09:58 +0300)
src/buffer.c

index 5c65d4d4d19e20bdf13ade5766a6c04b52665707..92ed405b6f7360b190808f2b76c6948ec529ebb8 100644 (file)
@@ -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,