Subject: [bug#78315] [PATCH 35/53] gnu: emacs-m-buffer-el: Rename package to emacs-m-buffer.

From: Nicolas Graves <[email-masked]>
Date: Thu, 8 May 2025 14:50:37 +0200

* gnu/packages/emacs-xyz.scm (emacs-m-buffer-el): Define in terms of
'deprecated-package'.
(emacs-m-buffer): New variable, formerly known as "emacs-m-buffer-el".
(emacs-assess)[propagated-inputs]: Replace emacs-m-buffer-el by emacs-m-buffer.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f94818a344..f8339ecf65 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27509,9 +27509,9 @@ (define-public emacs-edit-server
      "This package provides an edit server to respond to requests from Emacs.")
     (license license:gpl3+)))
 
-(define-public emacs-m-buffer-el
+(define-public emacs-m-buffer
   (package
-    (name "emacs-m-buffer-el")
+    (name "emacs-m-buffer")
     (version "0.15")
     (source
      (origin
@@ -27536,6 +27536,9 @@ (define-public emacs-m-buffer-el
 for operating over the contents of Emacs buffers.")
     (license license:gpl3+)))
 
+(define-deprecated/public emacs-m-buffer-el emacs-m-buffer
+  (deprecated-package "emacs-m-buffer-el" emacs-m-buffer))
+
 (define-public emacs-let-alist
   (package
     (name "emacs-let-alist")
@@ -27949,7 +27952,7 @@ (define-public emacs-assess
            #~(list "emacs" "--batch" "--directory=."
                    "--load" "assess-discover.el"
                    "--eval" "(assess-discover-run-and-exit-batch t)")))
-    (propagated-inputs (list emacs-m-buffer-el))
+    (propagated-inputs (list emacs-m-buffer))
     (native-inputs (list emacs-load-relative))
     (home-page "https://elpa.gnu.org/packages/assess.html")
     (synopsis "Test support functions")
-- 
2.49.0