From: Yuan Fu Date: Fri, 10 Nov 2023 04:09:06 +0000 (-0800) Subject: Add shortdoc for treesit-node-get X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1653389b5744606e04838cdede310ea76fba31f9;p=emacs.git Add shortdoc for treesit-node-get --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 3555396390d..e1fcf1a8b04 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -3573,6 +3573,9 @@ function signals an error." "Retrieving a node from another node" + (treesit-node-get + :no-eval (treesit-node-get node '((parent 1) (sibling 1) (text))) + :eg-result-string "#") (treesit-node-parent :no-eval (treesit-node-parent node) :eg-result-string "#")