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

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

Re: How to see that a variable holds t


From: Cecil Westerhof
Subject: Re: How to see that a variable holds t
Date: Wed, 06 Jan 2010 20:13:31 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

pjb@informatimago.com (Pascal J. Bourguignon) writes:

>> As earlier said: it works, but I do not understand the difference
>> between:
>>     ((t)       10)
>
> This is a clause that matches only t.
>
>
>> and:
>>     (t       10)
>
> This is the default clause.  It matches anything.
>
> (t) is a list of literal values specifying the case.
> t is a symbol that is interpreted as meaning 'anything'.

Thanks, that makes it clear.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


reply via email to

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