[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47516: 28.0.50; void-variable edebug-all-defs
From: |
martin rudalics |
Subject: |
bug#47516: 28.0.50; void-variable edebug-all-defs |
Date: |
Fri, 2 Apr 2021 20:24:03 +0200 |
> Oh, so it ends up making the variable buffer-local before it gets
> initialized, so it's both globally unbound and buffer-locally unbound.
> Hence when the `defvar` is processed the global value gets initialized
> but the buffer-local value stays unbound.
>
> Do you happen to remember why you "needed it many years ago"?
No. But I just read the doc-string of `edebug-all-defs':
edebug-all-defs is a variable defined in ‘edebug.el’.
You can use the command ‘edebug-all-defs’ to toggle the value of this
variable. You may wish to make it local to each buffer with
(make-local-variable 'edebug-all-defs) in your
‘emacs-lisp-mode-hook’.
and that's what I've apparently done.
> I'm leaning towards considering this a "pilot error".
Objection, your honor!
martin