emacs-31 296869994e4: ; Remove 'sit-for' treesit parser workaround (bug#81019)
Eli Zaretskii <[email protected]> Sat, 25 Jul 2026 04:05:07 -0400 (EDT)
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 296869994e4f8d20ae958341e780dfea981cd5de Author: Stéphane Marks <[email protected]> Commit: Eli Zaretskii <[email protected]> ; Remove 'sit-for' treesit parser workaround (bug#81019) Commit 9d1b0c2d7f64d8367a7d700041d2c4a3605663e7 solves for this. * lisp/textmodes/markdown-ts-mode.el (markdown-ts--enable-code-block-in-context-mode): Remove call to 'sit-for'. --- lisp/textmodes/markdown-ts-mode.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/lisp/textmodes/markdown-ts-mode.el b/lisp/textmodes/markdown-ts-mode.el index d01b8c09a3c..bf10c378fca 100644 --- a/lisp/textmodes/markdown-ts-mode.el +++ b/lisp/textmodes/markdown-ts-mode.el @@ -3100,8 +3100,6 @@ See `markdown-ts--run-command-in-code-block'.") (defun markdown-ts--enable-code-block-in-context-mode () "Enable `markdown-ts-code-block-in-context-mode' if in a fenced code block." - ;; Let treesit catch up with buffer edits. - (sit-for 0) (markdown-ts-code-block-in-context-mode (if (markdown-ts-at-code-block-p) 1 -1)))