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

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

Re: Why is defun not executed during load-file?


From: Jean Louis
Subject: Re: Why is defun not executed during load-file?
Date: Mon, 31 May 2021 02:37:25 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* Michael Heerdegen <michael_heerdegen@web.de> [2021-05-31 02:27]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > I am fine to generate functions without macros, just tell me how. I
> > need names of functions dynamically generated.
> 
> I think you can use `defalias', a simple function.  That would require
> to use lexical binding so that variables like `prompt' can get captured
> in a closure.  That would look like this:


That I must try. Thanks.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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