]> git.eshelyaron.com Git - emacs.git/commit
; Fix treesit--defuns-around
authorYuan Fu <casouri@gmail.com>
Wed, 21 Dec 2022 05:21:48 +0000 (21:21 -0800)
committerYuan Fu <casouri@gmail.com>
Thu, 22 Dec 2022 08:42:49 +0000 (00:42 -0800)
commit69123d4aa4e8a116d4fe328146af5829f3790fc7
treeea42fb4007b98e8409e54f1d2999b5bfd2bfc9e4
parent05d8310fb5ddb35c2566c2b50ca07e86edf3c670
; Fix treesit--defuns-around

Now it doesn't move point.

* lisp/treesit.el (treesit--defuns-around): Wrap some code with
save-excursion.
lisp/treesit.el