diff options
Diffstat (limited to 'doc/lispref/modes.texi')
-rw-r--r-- | doc/lispref/modes.texi | 4 |
1 files changed, 2 insertions, 2 deletions
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 |