; Remove 'sit-for' treesit parser workaround (bug#81019)

Commit 9d1b0c2d7f solves for this.

* lisp/textmodes/markdown-ts-mode.el
(markdown-ts--enable-code-block-in-context-mode):
Remove call to 'sit-for'.
This commit is contained in:
Stéphane Marks 2026-07-19 11:59:47 -04:00 committed by Eli Zaretskii
parent 633a998bcf
commit 296869994e

View file

@ -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)))