mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
; 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:
parent
633a998bcf
commit
296869994e
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue