[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: cond construct for situation when a variable is t
From: |
Emanuel Berg |
Subject: |
Re: [External] : Re: cond construct for situation when a variable is t |
Date: |
Tue, 22 Aug 2023 21:31:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Drew Adams wrote:
>> Right, because one can set the letter t to something which
>> would then screw up the idea that t means
>> a truth condition.
>
> (setq t 42)
>
> Debugger entered--Lisp error: (setting-constant t)
> signal(setting-constant (t))
> (progn (signal 'setting-constant (list 't)))
> (progn (progn (signal 'setting-constant (list 't))))
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> command-execute(eval-last-sexp)
>
> And `t' is not a "letter" here; it's a _symbol_ whose name
> is "t".
Okay, so they don't allow that anymore. Good, I guess.
Or maybe I did it in another way than using `setq', I say this
because I remember it very well that suddenly nothing worked.
--
underground experts united
https://dataswamp.org/~incal