; * etc/NEWS: Fix wording in last change.

This commit is contained in:
Eli Zaretskii 2023-01-04 20:52:41 +02:00
parent cef875f6c5
commit 92f753dc19

View file

@ -3159,12 +3159,12 @@ optional, and you must turn them on manually, or customize
Where no major modes previously existed in Emacs for editing the kinds Where no major modes previously existed in Emacs for editing the kinds
of files for which Emacs now provides a tree-sitter based mode, Emacs of files for which Emacs now provides a tree-sitter based mode, Emacs
will now try to enable the tree-sitter mode automatically when you will now try to enable these new modes automatically when you visit
visit such files, and will display a warning if the tree-sitter such files, and will display a warning if the tree-sitter library or
library or the parser grammar library is not available. To prevent the parser grammar library is not available. To prevent the warnings,
the warnings, either build Emacs with tree-sitter and install the either build Emacs with tree-sitter and install the grammar libraries,
grammar libraries, or customize 'auto-mode-alist' to specify some or customize 'auto-mode-alist' to specify some other major mode (or
other major mode (or even Fundamental mode) for those kinds of files. even Fundamental mode) for those kinds of files.
Each major mode based on tree-sitter needs a language grammar library, Each major mode based on tree-sitter needs a language grammar library,
usually named "libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on usually named "libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on