|
From: | David Kastrup |
Subject: | Re: set-text-properties, remove-set-properties, add-text-properties: 1) doc string 2) return value |
Date: | Fri, 30 Dec 2005 12:24:03 +0100 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Luc Teirlinck <address@hidden> writes: > I could add: > > This function returns nil if it _knows_ that it did not replace any > properties, non-nil otherwise. > > to both the docstring and the Elisp manual, if desired. Since the programmer has no way of guessing what a function might or might not know (interesting word choice, anyway), this sounds like the worst of all solutions. I'd rather have "no useful value is returned". -- David Kastrup, Kriemhildstr. 15, 44793 Bochum
[Prev in Thread] | Current Thread | [Next in Thread] |