|
From: | Andreas Röhler |
Subject: | Re: forward-paragraph return value |
Date: | Tue, 24 Aug 2010 18:57:43 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 |
Am 24.08.2010 13:30, schrieb Davis Herring:
Its clean and much more reliable, as beg will be nil, if nothing was found.If (forward-paragraph 10) can only advance past 7 paragraphs, has it failed or not? And how is the caller to know that what they asked for was impossible if it merely returns (point-end) or so? Davis
Example mentioned was search-forward. It sends all the info you need.
[Prev in Thread] | Current Thread | [Next in Thread] |