|
From: | Michael Heerdegen |
Subject: | bug#37488: 27.0.50; Inconsistent naming of arg of `text-property-search-forward' and `-backward' |
Date: | Wed, 25 Sep 2019 11:35:01 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes: > . What is the reason for having VALUE an optional argument? Is it a > frequent/useful operation to look for a VALUE of nil? I also wondered about the optional args, semantics is a bit unusual: note that PREDICATE -> nil means "not equal", so with VALUE -> nil this actually searches for non-nil values of the text property, which is a reasonable (and the expected) default behavior. I needed to read it twice. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |