emacs-diffs
[Top][All Lists]
Advanced

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

master 7d15d17353c: ; Improve commentary in intervals.h


From: Eli Zaretskii
Subject: master 7d15d17353c: ; Improve commentary in intervals.h
Date: Thu, 2 May 2024 02:51:11 -0400 (EDT)

branch: master
commit 7d15d17353c02b0ded3671ecfaf2f4a8c19d43c1
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Improve commentary in intervals.h
    
    * src/intervals.h (INTERVAL_GENERALLY_WRITABLE_P)
    (INTERVAL_EXPRESSLY_WRITABLE_P): Clarify commentary.
---
 src/intervals.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/intervals.h b/src/intervals.h
index 4ddb7f12b92..5718874543a 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -204,16 +204,16 @@ set_interval_plist (INTERVAL i, Lisp_Object plist)
 #define INTERVAL_VISIBLE_P(i) \
   (i && NILP (textget ((i)->plist, Qinvisible)))
 
-/* Is this interval writable by virtue of not being marked read-only, or
-   a general value of Vinhibit_read_only (which is read from the value
-   provided as RO)?  Replace later with cache access.  */
+/* Is this interval writable by virtue of not being marked read-only
+   by the 'read-only' property (passed via RO), or due to the general
+   value of Vinhibit_read_only?  Replace later with cache access.  */
 #define INTERVAL_GENERALLY_WRITABLE_P(i, ro)                   \
   (NILP (ro) || (!NILP (Vinhibit_read_only)                    \
                 && !CONSP (Vinhibit_read_only)))
 
-/* Is this interval writable by virtue of an explicit inhibit-read-only
-   property, or the specific presence of its Qread_only property (which
-   is read from the value provided as RO) in Vinhibit_read_only?  */
+/* Is this interval writable by virtue of its explicit
+   'inhibit-read-only' property, or due to the presence of its
+   'read-only' property (passed via RO) in Vinhibit_read_only list?  */
 #define INTERVAL_EXPRESSLY_WRITABLE_P(i, ro)                   \
   (!NILP (textget ((i)->plist, Qinhibit_read_only))            \
    || (!NILP (ro)                                              \



reply via email to

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