From 5e03a621efc00b3cfe52442670175dd3564c4e1e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 10 Dec 2023 11:41:35 +0200 Subject: [PATCH] ; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix. --- lisp/progmodes/c-ts-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 05758d48f52..e708420148a 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -357,8 +357,8 @@ PARENT, BOL, ARGS are the same as other anchor functions." parent (treesit-node-parent parent) bol args)) (defun c-ts-mode--else-heuristic (node parent bol &rest _) - "Heuristic matcher for when else is followed by a closing bracket. -NODE, PARENT, BOL are the same as other matchers." + "Heuristic matcher for when \"else\" is followed by a closing bracket. +NODE, PARENT, and BOL are the same as in other matchers." (and (null node) (save-excursion (forward-line -1) -- 2.39.2