Subject: [PATCH v3 31/53] gnu: emacs-undohist-el: Rename package to emacs-undohist.

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

* gnu/packages/emacs-xyz.scm (emacs-undohist-el): Define in terms of
'deprecated-package'.  Fix home-page redirection lint.
(emacs-undohist): New variable, formerly known as "emacs-undohist-el".
---
 gnu/packages/emacs-xyz.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 67b089a006..168d45d817 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16043,15 +16043,15 @@ (define-public emacs-uniquify-files
 unique file names you need this package here.")
     (license license:gpl3+)))
 
-(define-public emacs-undohist-el
+(define-public emacs-undohist
   (package
-    (name "emacs-undohist-el")
+    (name "emacs-undohist")
     (version "0.3.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/m2ym/undohist-el")
+             (url "https://github.com/emacsorphanage/undohist")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
@@ -16059,12 +16059,15 @@ (define-public emacs-undohist-el
     (build-system emacs-build-system)
     (arguments
      (list #:tests? #f))  ; No tests.
-    (home-page "https://github.com/m2ym/undohist-el")
+    (home-page "https://github.com/emacsorphanage/undohist")
     (synopsis "Save undo history between sessions")
     (description "This package allows persistent use of undo history for
 individual file buffers.")
     (license license:gpl3+)))
 
+(define-deprecated/public emacs-undohist-el emacs-undohist
+  (deprecated-package "emacs-undohist-el" emacs-undohist))
+
 (define-public emacs-eprime
   (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
     (package
-- 
2.49.0