emacs-devel
[Top][All Lists]
Advanced

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

Re: Using the content of a dynamic variable in a macro


From: Richard Stallman
Subject: Re: Using the content of a dynamic variable in a macro
Date: Sun, 26 Feb 2023 22:24:30 -0500

  > Lexical binding isn't the issue - the variable is global in scope.
  > The issue is that when you explicitly run the byte-compiler in batch mode,
  > the "defvar" expression is only compiled, not evaluated, while the defmacro
  > is evaluated, and the application of the macro function is evaluated during
  > compilation.

Should we change this to evaluate defvar in batch mode?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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