On February 23, [EMAIL PROTECTED] said: > Hm I am not sure, that I understand: > (eval-expression '(my:nnimap-folder-list-from-bbdb) nil) > gives me > (("From" "[EMAIL PROTECTED]" "testimap")) > but I want that it returns > ("From" "[EMAIL PROTECTED]" "testimap") > > So what should I change in the function or in the call of that > function?
you want the (car ) or (nth 0 ) of that expression. So either modify the nnimap-folder-list-from-bbdb function so that the last thing it does is to apply one of these functions to whatever the function was already going to return, or use (car (my:nnimap-folder-list-from-bbdb)) in place of (my:nnimap-folder-list-from-bbdb) Cheers, Waider. Here at BBDB, we also do Elisp Help... -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. Andrea.B.Previtera says, "I can't remember...we found a good cheap beer in an undocumented irish pub...and we had pints and pints and pints to celebrate something..." ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/