From: Eli Zaretskii Date: Sun, 10 Dec 2023 09:41:35 +0000 (+0200) Subject: ; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e03a621efc00b3cfe52442670175dd3564c4e1e;p=emacs.git ; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix. --- 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)