From: Eli Zaretskii Date: Sat, 14 Sep 2024 09:02:56 +0000 (+0300) Subject: ; * lisp/treesit.el (treesit-major-mode-setup): Doc fix. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39605ea1b57c3d755aa769fd90d288982fed820a;p=emacs.git ; * lisp/treesit.el (treesit-major-mode-setup): Doc fix. (cherry picked from commit 57d93d0259a3cc9a180b1bcb3cec3f670485f82c) --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 6a066ebd9c6..77a2d01adf6 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -3044,9 +3044,9 @@ If `treesit-defun-name-function' is non-nil, set up If `treesit-simple-imenu-settings' is non-nil, set up Imenu. -If `treesit-outline-predicate' or `treesit-simple-imenu-settings', and -Outline minor mode settings don't alreay exist, setup Outline minor -mode. +If either `treesit-outline-predicate' or `treesit-simple-imenu-settings' +are non-nil, and Outline minor mode settings don't alreay exist, setup +Outline minor mode. If `sexp', `sentence' are defined in `treesit-thing-settings', enable tree-sitter navigation commands for them.