1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Fix treesit-simple-indent-presets docstring (bug#67007)

* lisp/treesit.el (treesit-simple-indent-presets): Fix docstring.
* doc/lispref/modes.texi (Parser-based Indentation): Fix example.
This commit is contained in:
Yuan Fu 2023-11-08 23:46:32 -08:00
parent b7871cefe7
commit 103ca678ac
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442
2 changed files with 2 additions and 2 deletions

View File

@ -5087,7 +5087,7 @@ this matcher doesn't check that argument. For example, to match the
first child where parent is @code{argument_list}, use
@example
(match nil "argument_list" nil nil 0 0)
(match nil "argument_list" nil 0 0)
@end example
In addition, @var{node-type} can be a special value @code{null},

View File

@ -1322,7 +1322,7 @@ MATCHER:
NODE's index in PARENT. Therefore, to match the first child
where PARENT is \"argument_list\", use
(match nil \"argument_list\" nil nil 0 0).
(match nil \"argument_list\" nil 0 0).
NODE-TYPE, PARENT-TYPE, and NODE-FIELD are regexps.
NODE-TYPE can also be `null', which matches when NODE is nil.