From: Po Lu Date: Thu, 2 May 2024 01:51:31 +0000 (+0800) Subject: ; Update commentary in intervals.h X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d75f97b0dad88203ffbf24f8264cd43718bcf3a8;p=emacs.git ; Update commentary in intervals.h * src/intervals.h (INTERVAL_GENERALLY_WRITABLE_P) (INTERVAL_EXPRESSLY_WRITABLE_P): Mention significance of RO. (cherry picked from commit 08a38d6e7aad1c918b95801402de189aeaf64da5) --- diff --git a/src/intervals.h b/src/intervals.h index 5c6ef33a3a9..4ddb7f12b92 100644 --- a/src/intervals.h +++ b/src/intervals.h @@ -205,15 +205,15 @@ set_interval_plist (INTERVAL i, Lisp_Object plist) (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? Replace later with cache - access. */ + a general value of Vinhibit_read_only (which is read from the value + provided as RO)? 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 in - Vinhibit_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? */ #define INTERVAL_EXPRESSLY_WRITABLE_P(i, ro) \ (!NILP (textget ((i)->plist, Qinhibit_read_only)) \ || (!NILP (ro) \