[Top][All Lists]

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

Re: return of replace-match

From: Nicolas Richard
Subject: Re: return of replace-match
Date: Wed, 05 Mar 2014 12:11:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Bastien <address@hidden> writes:
> Alex Kost <address@hidden> writes:
>> It looks correct to me.  When the docstring tells nothing about the
>> returning value, it may be anything and you shouldn't rely on it.
> IIUC, the problem here is that the docstring says it will return `t'
> and return `nil' instead.

s/docstring/info manual/
See (info "(elisp) Replacing Match")

> I guess that's just a documentation bug.

Agreed. "return Qnil" has been in the code forever as far as I can see
(which is what C-x v g can see).


reply via email to

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