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: Emanuel Berg
Subject: Re: Why is defun not executed during load-file?
Date: Mon, 31 May 2021 00:07:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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