summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-01-02 14:15:05 -0800
committerYuan Fu <casouri@gmail.com>2023-01-02 14:25:54 -0800
commit4ef12cfb1fc3f08fc17f0ed622ddfcb1d26cefc8 (patch)
tree6a7ec66dff6281961adf2056cbb407f6cc007c86
parentaab8ddca5e1bbbca0ab3d2241c34ccde7ebd6e1e (diff)
downloademacs-4ef12cfb1fc3f08fc17f0ed622ddfcb1d26cefc8.tar.gz
; Fix tree-sitter manual title case
* doc/lispref/elisp.texi: * doc/lispref/modes.texi: * doc/lispref/parsing.texi: Change to title case.
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/lispref/modes.texi4
-rw-r--r--doc/lispref/parsing.texi4
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index fd06409fd59..c7dc330441f 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -1370,7 +1370,7 @@ Parsing Program Source
* Accessing Node Information:: Accessing node information.
* Pattern Matching:: Pattern matching with query patterns.
* Multiple Languages:: Parse text written in multiple languages.
-* Tree-sitter major modes:: Develop major modes using tree-sitter.
+* Tree-sitter Major Modes:: Develop major modes using tree-sitter.
* Tree-sitter C API:: Compare the C API and the ELisp API.
Syntax Descriptors
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 9cd20532de6..dffd6653369 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -2863,10 +2863,10 @@ matched by @var{regexp} and @var{pred} are not grouped under
@var{name-fn} should be either @var{nil} or a function that takes a
defun node and returns the name of that defun, e.g., the function name
for a function definition. If @var{name-fn} is @var{nil},
-@code{treesit-defun-name} (@pxref{Tree-sitter major modes}) is used
+@code{treesit-defun-name} (@pxref{Tree-sitter Major Modes}) is used
instead.
-@code{treesit-major-mode-setup} (@pxref{Tree-sitter major modes})
+@code{treesit-major-mode-setup} (@pxref{Tree-sitter Major Modes})
automatically sets up Imenu if this variable is non-@code{nil}.
@end defvar
diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi
index 1ed59526a61..19a22c121de 100644
--- a/doc/lispref/parsing.texi
+++ b/doc/lispref/parsing.texi
@@ -45,7 +45,7 @@ source files that mix multiple programming languages.
* Accessing Node Information:: Accessing node information.
* Pattern Matching:: Pattern matching with query patterns.
* Multiple Languages:: Parse text written in multiple languages.
-* Tree-sitter major modes:: Develop major modes using tree-sitter.
+* Tree-sitter Major Modes:: Develop major modes using tree-sitter.
* Tree-sitter C API:: Compare the C API and the ELisp API.
@end menu
@@ -1675,7 +1675,7 @@ language of the buffer text at @var{pos}. This variable is used by
@code{treesit-language-at}.
@end defvar
-@node Tree-sitter major modes
+@node Tree-sitter Major Modes
@section Developing major modes with tree-sitter
@cindex major mode, developing with tree-sitter