]> git.eshelyaron.com Git - emacs.git/commit
Make treesit-defun-prefer-top-level more flexible
authorYuan Fu <casouri@gmail.com>
Wed, 30 Nov 2022 23:05:07 +0000 (15:05 -0800)
committerYuan Fu <casouri@gmail.com>
Thu, 1 Dec 2022 00:57:08 +0000 (16:57 -0800)
commit01e7d4b2a1e7c3299ac73ade27b5efa46b12742b
tree302090f310b52087a937248b21907fb0834c66b9
parentfb5d9ff559c42105d298ebfb30021f6bf01d7eb0
Make treesit-defun-prefer-top-level more flexible

* doc/lispref/positions.texi (List Motion): Update manual.
* lisp/treesit.el (treesit-defun-prefer-top-level): Update docstring.
(treesit--defun-maybe-top-level): Change to accept new format.
doc/lispref/positions.texi
lisp/treesit.el