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

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

Re: Request for Comment, ELisp code


From: Johan Bockgård
Subject: Re: Request for Comment, ELisp code
Date: Fri, 17 Jun 2005 18:21:15 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Denis Bueno <dbuenoAOEUI@IUEOAgmail.com> writes:

>       (while args
>         (setq prog (concat prog " " (car args))
>               args (cdr args))))

You could use `dolist' instead of `while'. In this case using
`mapconcat' is even simpler though (use `identity' for FUNCTION).

-- 
Johan Bockgård


reply via email to

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