diff options
| author | Philipp Stephani | 2020-08-03 21:07:32 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2020-08-03 21:07:32 +0200 |
| commit | ca419812d35f252fca2708ffdd132c223d094c0f (patch) | |
| tree | acd074b79efd322c408168a7be70df997f5c0ee7 /src/bytecode.c | |
| parent | 16b7f413a9ff819c374e07ee927c1fd2b4138109 (diff) | |
| download | emacs-ca419812d35f252fca2708ffdd132c223d094c0f.tar.gz emacs-ca419812d35f252fca2708ffdd132c223d094c0f.zip | |
Avoid duplicate Edebug symbols when backtracking (Bug#42701)
When Edebug backtracks, it nevertheless generates definitions for the
non-matching branches, see Bug#41988 and Bug#42701. This should be
fixed eventually (probably by deferring the definition until a branch
is known to match), but for now add a band-aid to avoid these
duplicate symbols, at least for anonymous forms.
* lisp/emacs-lisp/edebug.el (edebug-make-enter-wrapper): Regenerate
anonymous names.
* test/lisp/emacs-lisp/edebug-tests.el
(edebug-tests-duplicate-symbol-backtrack): New regression test.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions