]> git.eshelyaron.com Git - emacs.git/commit
Check the anchor along with the offset in treesit-indent-region
authorDaniel Martín <mardani29@yahoo.es>
Sat, 25 Feb 2023 02:07:55 +0000 (03:07 +0100)
committerYuan Fu <casouri@gmail.com>
Sat, 25 Feb 2023 05:12:47 +0000 (21:12 -0800)
commit5cf50d60041c82deccc4b32a8ecdb1a28b6e8f91
tree42b38a3ebf945a460ccb6a0b8cad1f688fd9b53a
parent497018dd5c323ee9cedb98209cb67aadf959c42c
Check the anchor along with the offset in treesit-indent-region

* lisp/treesit.el (treesit-indent-region): To compute a valid column,
having a non-nil offset is not enough, we need a non-nil anchor as
well.
lisp/treesit.el