emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/treesit-fold bc3e5dda46 266/417: fix: Wrong function call


From: ELPA Syncer
Subject: [nongnu] elpa/treesit-fold bc3e5dda46 266/417: fix: Wrong function call
Date: Mon, 1 Jul 2024 10:02:33 -0400 (EDT)

branch: elpa/treesit-fold
commit bc3e5dda46405839197536e06875d469ac992070
Author: JenChieh <jcs090218@gmail.com>
Commit: JenChieh <jcs090218@gmail.com>

    fix: Wrong function call
---
 ts-fold.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ts-fold.el b/ts-fold.el
index 43d1722717..92027a0de1 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -621,7 +621,7 @@ more information."
 
 For arguments NODE and OFFSET, see function `ts-fold-range-seq' for
 more information."
-  (when-let* ((string-node (car (ts-docstr-find-children node "string")))
+  (when-let* ((string-node (car (ts-fold-find-children node "string")))
               ;; the colon is an anonymous node after return_type or 
parameters node
               (beg (tsc-node-start-position string-node))
               (end (tsc-node-end-position node)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]