]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos in last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Apr 2025 05:59:06 +0000 (08:59 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 21 Apr 2025 20:38:29 +0000 (22:38 +0200)
(cherry picked from commit f200b3c91060afe559945e8128a021d5b3aa3ee1)

lisp/treesit.el

index 2cb3666c83626b86265060d7efd77e5068beceef..10384c933657a369a9e0d449c94834ca9f624063 100644 (file)
@@ -5268,14 +5268,14 @@ If anything goes wrong, this function signals an `treesit-error'."
         (copy-file file (expand-file-name (file-name-nondirectory file) dest-dir) t)))))
 
 (defcustom treesit-auto-install-grammar 'ask
-  "Whether to install trere-sitter language grammar libraries when needed.
+  "Whether to install tree-sitter language grammar libraries when needed.
 This controls whether Emacs will install missing grammar libraries
 when they are needed by some tree-sitter based mode.
 If `ask', ask for confirmation before installing the required grammar library.
 If `always', install the grammar library without asking.
 If nil or `never' or anything else, don't install the grammar library
 even while visiting a file in the mode that requires such grammar; this
-might dispolay a warning and/or fail to turn on the mode."
+might display a warning and/or fail to turn on the mode."
   :type '(choice (const :tag "Never install grammar libraries" never)
                  (const :tag "Always automatically install grammar libraries"
                         always)