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

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

Re: Understanding the "let" construct and the setting of variables


From: Michael Heerdegen
Subject: Re: Understanding the "let" construct and the setting of variables
Date: Sat, 19 Dec 2020 03:17:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Try `defalias' 't to #'some-function...

There is a sanity check in `fset' but it doesn't catch this case.

It would sometimes be cool if one could funbind some constants, e.g.

 t   -> (lambda (&rest _) t)
 nil -> #'ignore
 1   -> #'identity

but that would produce a big mess, it is probably no option in Emacs
Lisp.

Regards,

Michael.




reply via email to

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