From 09806393901bce6625c9cd1512a2263ef083e365 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 14 Feb 2025 17:44:02 -0800 Subject: [PATCH] ; Another attempt at fixing c-ts-common--prev-standalone-sibling * lisp/progmodes/c-ts-common.el: (c-ts-common--prev-standalone-sibling): Fix. (cherry picked from commit b58552ca983ad37e51fb375bd45bd12a2beda3b2) --- lisp/progmodes/c-ts-common.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el index 79f5877ff16..df29af948cc 100644 --- a/lisp/progmodes/c-ts-common.el +++ b/lisp/progmodes/c-ts-common.el @@ -632,7 +632,7 @@ for determining standlone line." (funcall treesit-simple-indent-standalone-predicate node) - (c-ts-common--standalone-predicate parent))))) + (c-ts-common--standalone-predicate node))))) (setq node (treesit-node-prev-sibling node 'named))) (if (numberp anchor) anchor (treesit-node-start node))))) -- 2.39.5