[Top][All Lists]

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

Re: How to parse "To" and "Cc" headers?

From: Teemu Likonen
Subject: Re: How to parse "To" and "Cc" headers?
Date: Tue, 03 Feb 2009 13:11:44 GMT
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

On 2009-02-02 10:08 (-0600), Ted Zlatanov wrote:

> On Sat, 31 Jan 2009 06:09:12 GMT Teemu Likonen <address@hidden> wrote: 
> TL>     (dolist (item (append to-lst cc-lst) recipients)
> TL>       (add-to-list 'recipients
> TL>                    (nth 1 item)))))
> You may be able to simplify this to just a (mapcar(append(...))) call
> using `cadr'.

Ah, true:

    (mapcar 'cadr (append cc-lst to-lst))

reply via email to

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