[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 01:39:50 +0300 |
User-agent: |
Mutt/2.0.7+183 (3d24855) (2021-05-28) |
* Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2021-05-31 01:11]:
> Jean Louis wrote:
>
> >>> (eval `(defun ,(intern (symbol-name function-name)) ()
> >>
> >> One-liner of the year award :)
> >
> > I still did not make it. It works when evaluated with hand,
> > but not with load-file.
>
> Macros are much more difficult to debug...
I am fine to generate functions without macros, just tell me how. I
need names of functions dynamically generated.
--
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/
Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
- Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/30
- Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
- RE: [External] : Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/30
- Re: [External] : Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
- RE: [External] : Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Stefan Monnier, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Marcin Borkowski, 2021/05/31