From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
Glenn Morris wrote:
> Philipp wrote:
>
>> You can set the function cell of nil and t using `fset' and fr= iends.
>> But you can't call the `nil' function using (nil) (it does= work with
>> (t)).=C2=A0 I think that attempting to set the function cell of ni= l and t is
>> almost always a bug -- probably the programmer wanted to set a rea= l
>> symbol, but some of the constants got passed.=C2=A0 I propose to s= ignal an
>> error (e.g. `setting-constant') whenever the function cell of = nil and t
>> is modified; maybe the same should happen for keywords.
>
> I just did this yesterday...
> See https://debbugs.gnu.org/25110, ba8e883= , and 3fd4433.
And now see also ffb1302. :)
Anyway, I only did "nil", since as you say "t" can actu= ally be called as
a function. But you are right that it's probably unintended.