emacs-devel
[Top][All Lists]
Advanced

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

Re: map-file-lines


From: Miles Bader
Subject: Re: map-file-lines
Date: Tue, 03 Feb 2009 23:17:54 +0900

Ted Zlatanov <address@hidden> writes:
> TN> How about (while (not (zerop (dec numlines))) ...)?
>
> That's better and no CL dependency, thanks!

I presume `decf' was meant, which is in cl, albeit a macro.

For non-cl:  (setq numlines (1- numlines))

-Miles

-- 
Cat, n. A soft, indestructible automaton provided by nature to be kicked when
things go wrong in the domestic circle.




reply via email to

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