GNU bug report logs - #64755
[PATCH] gnu: git-modes -> emacs-git-modes.

Previous Next

Package: guix-patches;

Reported by: Ahmad Draidi <a.r.draidi <at> redscript.org>

Date: Thu, 20 Jul 2023 21:01:02 UTC

Severity: normal

Tags: patch

Done: Ahmad Draidi <a.r.draidi <at> redscript.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ahmad Draidi <a.r.draidi <at> redscript.org>
To: 64755 <at> debbugs.gnu.org
Cc: Ahmad Draidi <a.r.draidi <at> redscript.org>, Andrew Tropin <andrew <at> trop.in>, Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [bug#64755] [PATCH v2] gnu: Rename git-modes to emacs-git-modes.
Date: Sat, 22 Jul 2023 14:35:37 +0400
* gnu/packages/emacs-xyz.scm (git-modes): Deprecate and rename to...
(emacs-git-modes): ... this.
[use-modules]: Add (guix deprecation).
---
 gnu/packages/emacs-xyz.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6af5faf4cb..10bfb76046 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -153,6 +153,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix packages)
   #:use-module (guix cvs-download)
   #:use-module (guix download)
+  #:use-module (guix deprecation)
   #:use-module (guix bzr-download)
   #:use-module (guix gexp)
   #:use-module (guix i18n)
@@ -1261,7 +1262,7 @@ (define-public emacs-project
 some utility functions, and commands using that infrastructure.")
     (license license:gpl3+)))
 
-(define-public git-modes
+(define-public emacs-git-modes
   (package
     (name "emacs-git-modes")
     (version "1.4.1")
@@ -1285,6 +1286,8 @@ (define-public git-modes
 @file{.git/config}.")
     (license license:gpl3+)))
 
+(define-deprecated/public-alias git-modes emacs-git-modes)
+
 (define-public emacs-with-editor
   (package
     (name "emacs-with-editor")

base-commit: ab7bae8de3d3a27556dfe8e13ca349eabd730fa1
-- 
2.41.0





This bug report was last modified 1 year and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.