emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH]: Re: Early backtrace.


From: Stefan Monnier
Subject: Re: [PATCH]: Re: Early backtrace.
Date: Tue, 01 Feb 2022 22:36:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> Could we make `debug-early` the default/initial value of `debugger` in
>> the C code, so that reloading `debug-early.el` can be done safely?
>
> I'm not sure what you're asking here.  Do you mean set Vdebugger to
> debug-early in syms_of_eval?

Yes.

> How would that make reloading debug-early.el safe?

Because then `debug-early.el` wouldn't have a `setq` at top-level so you
could reload it in a normal Emacs session without having the unfortunate
side-effect of setting `debugger` back to `debug-early`.

IOW it would make `debug-early.el` better follow the convention that
loading an ELisp file should have "no" effect.


        Stefan




reply via email to

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