1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00
emacs/doc
Philipp Stephani 53dfd85a7f Edebug: Disable backtracking when hitting a &define keyword.
Edebug doesn't deal well with backtracking out of definitions, see
Bug#41988.  Rather than trying to support this rare situation (e.g. by
implementing a multipass parser), prevent it by adding an implicit
gate.

* lisp/emacs-lisp/edebug.el (edebug--match-&-spec-op): Disable
backtracking when hitting a &define keyword.

* test/lisp/emacs-lisp/edebug-tests.el
(edebug-tests-duplicate-&define): New unit test.
(edebug-tests--duplicate-&define): New helper macro.

* doc/lispref/edebug.texi (Backtracking): Mention &define in the list
of constructs that disable backtracking.

* etc/NEWS: Document new behavior.
2021-04-10 18:19:49 +02:00
..
emacs User option to move to another match when changing direction in isearch. 2021-04-08 22:04:08 +03:00
lispintro Remove references to very old versions of Emacs from eintr 2021-04-03 00:53:43 +02:00
lispref Edebug: Disable backtracking when hitting a &define keyword. 2021-04-10 18:19:49 +02:00
man Update copyright year to 2021 2021-01-01 01:13:56 -08:00
misc * doc/misc/tramp.texi (Frequently Asked Questions): New item about recentf. 2021-04-08 16:35:02 +02:00