From cef875f6c516e63fd53d5d05410a88f3c7750269 Mon Sep 17 00:00:00 2001
From: Eli Zaretskii <eliz@gnu.org>
Date: Wed, 4 Jan 2023 20:51:04 +0200
Subject: [PATCH] ; * etc/NEWS: Instructions for builds without tree-sitter
 (bug#60559)

---
 etc/NEWS | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 38a8798507a..b45b7de1fcc 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3157,6 +3157,15 @@ files, the new modes based on tree-sitter are for now entirely
 optional, and you must turn them on manually, or customize
 'auto-mode-alist' to turn them on automatically.
 
+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
+will now try to enable the tree-sitter mode automatically when you
+visit such files, and will display a warning if the tree-sitter
+library or the parser grammar library is not available.  To prevent
+the warnings, either build Emacs with tree-sitter and install the
+grammar libraries, or customize 'auto-mode-alist' to specify some
+other major mode (or even Fundamental mode) for those kinds of files.
+
 Each major mode based on tree-sitter needs a language grammar library,
 usually named "libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on
 MS-Windows), where LANG is the corresponding language name.  Emacs
-- 
2.39.5