Subject: [bug#65841] [PATCH emacs-team 5/5] gnu: Add emacs-next-tree-sitter.

From: Liliana Marie Prikler <[email-masked]>
Date: Sat, 9 Sep 2023 16:33:04 +0200

This package currently exists on master, where both emacs and emacs-next are
built without tree-sitter.  Since most of our Emacsen now build with
tree-sitter, it is no longer needed, but let's issue a warning rather than
a hard error to those who rely on it.

* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
---
 gnu/packages/emacs.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index d16da64cb5..72b2c7795e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -516,6 +516,8 @@ (define* (emacs->emacs-next emacs #:optional name
 (define-public emacs-next (emacs->emacs-next emacs))
 (define-public emacs-next-pgtk (emacs->emacs-next emacs-pgtk))
 (define-public emacs-next-pgtk-xwidgets (emacs->emacs-next emacs-pgtk-xwidgets))
+(define-public emacs-next-tree-sitter
+  (deprecated-package "emacs-next-tree-sitter" emacs-next))
 
 (define-public guile-emacs
   (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
-- 
2.41.0