summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/lisp-mode-tests.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-08-03 21:07:32 +0200
committerPhilipp Stephani <phst@google.com>2020-08-03 21:07:32 +0200
commitca419812d35f252fca2708ffdd132c223d094c0f (patch)
treeacd074b79efd322c408168a7be70df997f5c0ee7 /test/lisp/emacs-lisp/lisp-mode-tests.el
parent16b7f413a9ff819c374e07ee927c1fd2b4138109 (diff)
downloademacs-ca419812d35f252fca2708ffdd132c223d094c0f.tar.gz
emacs-ca419812d35f252fca2708ffdd132c223d094c0f.tar.bz2
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 'test/lisp/emacs-lisp/lisp-mode-tests.el')
0 files changed, 0 insertions, 0 deletions