emacs-devel
[Top][All Lists]
Advanced

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

Re: Why does this re-search forward fail?


From: Arthur Miller
Subject: Re: Why does this re-search forward fail?
Date: Tue, 20 Apr 2021 18:46:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (while (re-search-forward hbm--src-marker-re (eobp) t)
>
> I don't know about your particular problem but the call above looks
> wrong in its `limit` argument which is supposed to be either nil or
> a position whereas `eobp` returns a boolean (i.e. either nil or t).

Indeed. I ment (point-max) but had something else in m head when I wrote
it.

Thanks.




reply via email to

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