emacs-devel
[Top][All Lists]
Advanced

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

Re: t and nil in pure memory?


From: David Kastrup
Subject: Re: t and nil in pure memory?
Date: Fri, 20 Nov 2009 09:09:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

"A. Soare" <address@hidden> writes:

> I did run
>
> grep -riI "(put[[:blank:]\n]*t[^a-z]" *   and
> grep -riI "(put[[:blank:]\n]*nil" *
>
> in ./lisp directory, and I did find what I expected: nothing.
>
> Could somebody give me an example in which adding properties to `t'
> and `nil' may be useful?

Well, look in a running Emacs session:

(symbol-plist t) =>
(event-symbol-element-mask (t 0) event-symbol-elements (t) modifier-cache ((0 . 
t)))

(symbol-plist nil) =>
(event-symbol-element-mask (nil 0) event-symbol-elements (nil) modifier-cache 
((0)))

So somebody _is_ tacking properties onto t and nil.

-- 
David Kastrup





reply via email to

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