GNU bug report logs - #25114
24.5; doc of `isearch-search-string' should say it returns nil if STRING not found

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 4 Dec 2016 23:00:03 UTC

Severity: minor

Tags: fixed

Found in version 24.5

Fixed in versions 26.1, 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 25114 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#25114: 24.5;
 doc of `isearch-search-string' should say it returns nil if STRING
 not found
Date: Sat, 27 Jul 2019 12:31:13 -0400
fixed 25114 25.1
quit

Drew Adams <drew.adams <at> oracle.com> writes:

>> > Some of the Isearch code (e.g. `isearch-lazy-highlight-search')
>> > uses the return value of `isearch-search-string' as a Boolean value.
>> > The doc string should say that it returns nil if STRING is not found.
>> 
>> This seems like it was fixed by 65575c24aaa in 2016.
>
> Good.  It's not fixed in Emacs 26, at least, which is
> what the bug report references.

The fix [1: 65575c24aa] is included in 25.1.

[1: 65575c24aa]: 2016-01-20 15:09:09 +0200
  Fix doc string of 'isearch-search-fun-function'
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=65575c24aaad9bedf6b84cc062cc03fbe4dd1315




This bug report was last modified 6 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.