bug#81609: 31.0.90; Loading debug overwrites debugger

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
>> In debug.el there's a naked setq (with an autoload cookie?)
>> 
>> ,----
>> | ;;;###autoload
>> | (setq debugger 'debug)
>> `----
>> 
>> which means that whenever debug is required, the previous value of
>> `debugger` is silently overwritten. In my case, I set in my config
>> `debugger` to a custom value and `debug` was being lazy-loaded after it
>> which was overwriting the value.
>> 
>> I am not sure why this is done, since `debugger` has the value `debug`
>> by default.
>
> Stefan, any comments or suggestions?

That `setq` would benefit from being moved to `loadup.el`, indeed.


=== Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.