bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70058: 29.3; `Info-search-case-sensitively' errors with "Wrong type


From: Alcor
Subject: bug#70058: 29.3; `Info-search-case-sensitively' errors with "Wrong type argument: stringp, nil" on failed search
Date: Thu, 28 Mar 2024 22:31:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Eli,

> Does the patch below give good results?
>
> diff --git a/lisp/info.el b/lisp/info.el
> index 1c6df9a..5817737 100644
> --- a/lisp/info.el
> +++ b/lisp/info.el
> @@ -2056,7 +2056,7 @@ Info-search
>                        (re-search-forward regexp nil t))
>                (signal 'user-search-failed (list regexp))))))
>  
> -      (if (and bound (not found))
> +      (if (and (or bound (not Info-current-subfile)) (not found))
>            (signal 'user-search-failed (list regexp)))
>  
>        (unless (or found bound)

Yes, it does. Thanks.

Cheers,
-A.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]