]> git.eshelyaron.com Git - emacs.git/commit
Don't update ranges for the whole buffer in treesit--pre-redisplay
authorYuan Fu <casouri@gmail.com>
Mon, 19 Feb 2024 05:39:31 +0000 (21:39 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:36:01 +0000 (18:36 +0100)
commitc2b2144a7b2ddfef72663d24decaf47ffd3af749
treedc0d1ea273c119ca627a6cf07c87fe5c605e782b
parent39ccef44df5de67c9d2557d3a9a8de9fc4aa25ee
Don't update ranges for the whole buffer in treesit--pre-redisplay

* lisp/treesit.el (treesit--pre-redisplay): Only update two
screen-full of text around point.

(cherry picked from commit 8f260bb93f534b24d9a93d3315804ffe0c1fec4f)
lisp/treesit.el