]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/treesit.el (treesit-traverse-parent): Remove alias.
authorYuan Fu <casouri@gmail.com>
Tue, 27 Dec 2022 23:08:07 +0000 (15:08 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 28 Dec 2022 01:38:13 +0000 (17:38 -0800)
It was added with treesit-traverse-xxx functions, since now they are
gone, this alias doesn't make sense by itself anymore.

lisp/treesit.el

index 675ecd85b08900702ba4b4c8cd8b0e6f256ff1b7..fd61cbb8600b631a6032dd64a2ec25a7fd3e56a2 100644 (file)
@@ -322,8 +322,6 @@ takes one argument, the parent node."
             node (treesit-node-parent node)))
     last))
 
-(defalias 'treesit-traverse-parent #'treesit-parent-until)
-
 (defun treesit-node-children (node &optional named)
   "Return a list of NODE's children.
 If NAMED is non-nil, collect named child only."