If I understand correctly, ‘_’ is redundant in “gnu/packages.scm” as it
is already defined in (guix ui).

Also I fixed a double space in this commit (not sure if it's acceptable
here).  Also if this patch is OK, should a commit message be improved
somehow?

>From 376f974e1adad42882985cfc94f2ef4fde127948 Mon Sep 17 00:00:00 2001
From: Alex Kost <[email protected]>
Date: Sun, 17 Aug 2014 21:49:16 +0400
Subject: [PATCH] packages: Remove dead code.

* gnu/packages.scm (_): Remove.
  Remove an extra space.
---
 gnu/packages.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages.scm b/gnu/packages.scm
index 77d9d3e..83093a4 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -50,8 +50,6 @@
 ;;;
 ;;; Code:
 
-(define _ (cut gettext <> "guix"))
-
 ;; By default, we store patches and bootstrap binaries alongside Guile
 ;; modules.  This is so that these extra files can be found without
 ;; requiring a special setup, such as a specific installation directory
@@ -60,7 +58,7 @@
 
 (define %patch-path
   (make-parameter
-   (map (cut string-append <>  "/gnu/packages/patches")
+   (map (cut string-append <> "/gnu/packages/patches")
         %load-path)))
 
 (define %bootstrap-binaries-path
-- 
2.0.3

Reply via email to