emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/native-comp f055f52 1/2: * Fix two find function functions f


From: Noam Postavsky
Subject: Re: feature/native-comp f055f52 1/2: * Fix two find function functions for native compilation
Date: Mon, 9 Mar 2020 07:53:10 -0400

On Mon, 9 Mar 2020 at 05:09, martin rudalics <address@hidden> wrote:
>
>  >> +   ((string-match "\\.eln$" library)
>  >                              ^
>  >                             \\'
>
> Why?

"\\.eln$" matches lines ending in ".eln", "\\.eln\\'" matches only if
the string ends in ".eln", which is presumably the intention. Using
string-suffix-p could be even clearer.



reply via email to

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