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

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

Re: `looking-back' strange warning


From: Michael Heerdegen
Subject: Re: `looking-back' strange warning
Date: Thu, 01 Oct 2015 08:20:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> M-x `byte-compile-file' warns:
>
> ... Warning: looking-back called with 1 argument, but
>     requires 2-3

> While its definition:
>
> (defun looking-back (regexp &optional limit greedy)

An advertised calling convention had been added to that definition:

(declare
   (advertised-calling-convention (regexp limit &optional greedy)
   "25.1"))

AFAIR it had been added because `looking-back' is much slower without a
LIMIT.

Michael.




reply via email to

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