]> git.eshelyaron.com Git - emacs.git/commit
Don't signal an error in treesit-node-at
authorYuan Fu <casouri@gmail.com>
Tue, 21 Jan 2025 04:36:41 +0000 (20:36 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:09:43 +0000 (12:09 +0100)
commit7dbcc7556c22aa3305cb6c6e96ac2a5c7a40f4d3
tree073b81bcac113232847793e0d59cd90f3f4971ae
parent03eab9c28bb42b145299cb95b33126cc374a66bc
Don't signal an error in treesit-node-at

* lisp/treesit.el (treesit-node-at): Wrap
treesit-buffer-root-node within condition-case.

(cherry picked from commit a9cde2463abd6677e9d44d306473beef00983aad)
lisp/treesit.el