From: Yuan Fu Date: Sat, 15 Feb 2025 01:44:02 +0000 (-0800) Subject: ; Another attempt at fixing c-ts-common--prev-standalone-sibling X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09806393901bce6625c9cd1512a2263ef083e365;p=emacs.git ; 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) --- 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)))))