Subject: [bug#78315] [PATCH v3 39/53] gnu: emacs-js2-refactor-el: Rename package to emacs-js2-refactor.

From: Nicolas Graves <[email-masked]>
Date: Sun, 18 May 2025 10:16:38 +0200

* gnu/packages/emacs-xyz.scm (emacs-js2-refactor-el): Define in terms of
'deprecated-package'.
(emacs-js2-refactor): New variable, formerly known as "emacs-js2-refactor-el".
---
 gnu/packages/emacs-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4e142882b7..82e1f8d514 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35165,11 +35165,11 @@ (define-public emacs-flycheck-haskell
 buffers.")
       (license license:gpl3+))))
 
-(define-public emacs-js2-refactor-el
+(define-public emacs-js2-refactor
   (let ((commit "d4c40b5fc86d3edd7c6a7d83ac86483ee1cb7a28")
         (revision "2"))
     (package
-      (name "emacs-js2-refactor-el")
+      (name "emacs-js2-refactor")
       (version (git-version "0.9.0" revision commit))
       (source
        (origin
@@ -35204,6 +35204,9 @@ (define-public emacs-js2-refactor-el
 JavaScript.")
       (license license:gpl3+))))
 
+(define-deprecated/public emacs-js2-refactor-el emacs-js2-refactor
+  (deprecated-package "emacs-js2-refactor-el" emacs-js2-refactor))
+
 (define-public emacs-jsdoc
   (package
     (name "emacs-jsdoc")
-- 
2.49.0