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

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

bug#6647: 23.2; display-time-world not alists


From: Andreas Schwab
Subject: bug#6647: 23.2; display-time-world not alists
Date: Fri, 16 Jul 2010 09:59:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Kevin Ryde <user42@zip.com.au> writes:

> The docstrings of display-time-world-list say "Alist" whereas if I'm not
> mistaken the entries are lists, not pairs.

The value part of an alist element can be any lisp object, including a
list.  See (elisp) Association Lists:

       Sometimes it is better to design an alist to store the associated
    value in the CAR of the CDR of the element.  Here is an example of such
    an alist:

         ((rose red) (lily white) (buttercup yellow))

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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