[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 7512b9025a 2/3: ; * lisp/treesit.el (treesit-traverse-parent):
From: |
Yuan Fu |
Subject: |
emacs-29 7512b9025a 2/3: ; * lisp/treesit.el (treesit-traverse-parent): Remove alias. |
Date: |
Tue, 27 Dec 2022 20:42:19 -0500 (EST) |
branch: emacs-29
commit 7512b9025a152ea953918e1c0748b695b742b4b6
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * lisp/treesit.el (treesit-traverse-parent): Remove alias.
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 | 2 --
1 file changed, 2 deletions(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 675ecd85b0..fd61cbb860 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -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."