[Top][All Lists]

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

emacs-29 5e03a621efc: ; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-h

From: Eli Zaretskii
Subject: emacs-29 5e03a621efc: ; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix.
Date: Sun, 10 Dec 2023 04:42:05 -0500 (EST)

branch: emacs-29
commit 5e03a621efc00b3cfe52442670175dd3564c4e1e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * 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)
          (forward-line -1)

reply via email to

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