On lÃr, 2005-02-19 at 19:43 +0100, David Kastrup wrote:
> Joe Corneli <[EMAIL PROTECTED]> writes:
> 
> > Is there a shorter way to concatenate a list of strings
> > than this?
> >
> >  (eval (append (list 'concat) list-of-strings))
> >
> > Or more generally, 
> >
> >  (eval (append (list 'function-that-acts-on-foos) list-of-foos))
> 
> (apply #'concat list-of-strings)
> 
> 

What's the purpose of the hash sign? `(apply 'concat list-of-strings)'
works too.

-- 
August



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to