projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0734e1
)
; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix.
author
Eli Zaretskii
<eliz@gnu.org>
Sun, 10 Dec 2023 09:41:35 +0000
(11:41 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sun, 10 Dec 2023 09:41:35 +0000
(11:41 +0200)
lisp/progmodes/c-ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 05758d48f52dced5a768d76c95cdcd0c45a7f180..e708420148a2cf1f768f9a7c7fffa0ae0fcf80f1 100644
(file)
--- 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)