all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#42691: 28.0.50; eval-and-compile
@ 2020-08-03  7:57 Helmut Eller
  2020-08-03  9:29 ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: Helmut Eller @ 2020-08-03  7:57 UTC (permalink / raw)
  To: 42691

Compiling this example:

  (require 'cl-lib)
  (cl-macrolet ((foo () '123))
    (eval-and-compile (foo)))

with

  emacs -Q --batch -f batch-byte-compile bug.el

prints:

  In toplevel form:
  bug.el:2:1: Error: Symbol’s function definition is void: foo

I think when compiling eval-and-compile the macro-environment is not
passed along properly.


In GNU Emacs 28.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
 of 2020-08-03 built on caladan
Repository revision: e1f09607e02eb507b229285ed48b85a3c6a50259
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-16 15:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-03  7:57 bug#42691: 28.0.50; eval-and-compile Helmut Eller
2020-08-03  9:29 ` Andreas Schwab
2020-08-03 10:27   ` Helmut Eller
2020-08-03 12:04     ` Andreas Schwab
2020-08-03 12:55       ` Helmut Eller
2020-08-03 13:16         ` Andreas Schwab
2021-09-16 15:01       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.