From 4ef12cfb1fc3f08fc17f0ed622ddfcb1d26cefc8 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 2 Jan 2023 14:15:05 -0800 Subject: [PATCH] ; Fix tree-sitter manual title case * doc/lispref/elisp.texi: * doc/lispref/modes.texi: * doc/lispref/parsing.texi: Change to title case. --- doc/lispref/elisp.texi | 2 +- doc/lispref/modes.texi | 4 ++-- doc/lispref/parsing.texi | 4 ++-- 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 -- 2.39.2