[Top][All Lists]

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

Re: map-file-lines

From: Ted Zlatanov
Subject: Re: map-file-lines
Date: Tue, 03 Feb 2009 08:00:21 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Tue, 03 Feb 2009 09:08:33 +0100 Thien-Thi Nguyen <address@hidden> wrote: 

TN> () Ted Zlatanov <address@hidden>
TN> () Mon, 02 Feb 2009 14:48:25 -0600

TN>                   (numlines (count-lines (point-min) (point-max)))
TN>   ...
TN>                (dotimes (n (count-lines (point-min) (point-max)))

TN> How about (while (not (zerop (dec numlines))) ...)?

That's better and no CL dependency, thanks!


reply via email to

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