emacs-devel
[Top][All Lists]
Advanced

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

Re: string-match-p [was Re: [Emacs-diffs] trunk r113149: * ido.el (ido-r


From: Leo Liu
Subject: Re: string-match-p [was Re: [Emacs-diffs] trunk r113149: * ido.el (ido-read-internal): Fix bug#14620.]
Date: Tue, 25 Jun 2013 09:30:51 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3)

On 2013-06-25 00:16 +0800, Juanma Barranquero wrote:
> But anyway, the main reason is legibility. If you encounter
> string-match-p or looking-at-p you can be confident that they are
> being used as predicates and the following code does not depend on the
> match data. That is a net gain IMO.

I agree but since ido.el is written without this in mind I will leave it
as is to be consistent with adjacent code.

Leo




reply via email to

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