]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Sun, 10 Dec 2023 09:41:35 +0000 (11:41 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 11 Dec 2023 06:42:28 +0000 (07:42 +0100)
(cherry picked from commit 5e03a621efc00b3cfe52442670175dd3564c4e1e)

lisp/progmodes/c-ts-mode.el

index 9d97484d4b499596568b42371671685356ab24e7..9102d428c9297477b7ff5a0a9a741c562afd56d3 100644 (file)
@@ -358,8 +358,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)