[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/197: installer: Change N_ from a procedure to a macro.
From: |
Danny Milosavljevic |
Subject: |
53/197: installer: Change N_ from a procedure to a macro. |
Date: |
Mon, 3 Jul 2017 20:36:59 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit 8d3be87bc96f532f52e81c2e37fa6423a6086b6e
Author: John Darrington <address@hidden>
Date: Fri Dec 30 15:08:35 2016 +0100
installer: Change N_ from a procedure to a macro.
* gnu/system/installer/utils.scm (N_): Remove procedure. (N_): New macro.
---
gnu/system/installer/utils.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/system/installer/utils.scm b/gnu/system/installer/utils.scm
index 04f53ab..25a8390 100644
--- a/gnu/system/installer/utils.scm
+++ b/gnu/system/installer/utils.scm
@@ -53,8 +53,10 @@
(ncurses form)
(ncurses curses))
-(define (N_ str) str)
-
+(define-syntax N_
+ (syntax-rules ()
+ ((N_ str)
+ str)))
(define (make-window-port win)
"Return a port which writes to the curses window WIN"
- 40/197: installer: Turn off kernel ring messages to console., (continued)
- 40/197: installer: Turn off kernel ring messages to console., Danny Milosavljevic, 2017/07/03
- 37/197: install: Define new procedure pipe-cmd and use it to implement window-pipe., Danny Milosavljevic, 2017/07/03
- 41/197: installer: Enable scrolling in the installation window., Danny Milosavljevic, 2017/07/03
- 38/197: installer: Correct bugs generating the configuration., Danny Milosavljevic, 2017/07/03
- 45/197: installer: Fix bug where window-pipe did not return the proper exit status., Danny Milosavljevic, 2017/07/03
- 43/197: installer: Rename module "new" to "guixsd-installer"., Danny Milosavljevic, 2017/07/03
- 42/197: installer: Wrap installer in (catch #t ...), Danny Milosavljevic, 2017/07/03
- 48/197: installer: Close unused ports in pipe-cmd., Danny Milosavljevic, 2017/07/03
- 47/197: installer: Improve install page., Danny Milosavljevic, 2017/07/03
- 29/197: installer: Add a task to actually call guix system init., Danny Milosavljevic, 2017/07/03
- 53/197: installer: Change N_ from a procedure to a macro.,
Danny Milosavljevic <=
- 50/197: installer: Issue message to user on failure of filesystems task., Danny Milosavljevic, 2017/07/03
- 61/197: installer: Indicate which wireless access points are encrypted., Danny Milosavljevic, 2017/07/03
- 59/197: installer: Format configuration to fix width of window., Danny Milosavljevic, 2017/07/03
- 65/197: installer: Ensure that all mount points are absolute paths., Danny Milosavljevic, 2017/07/03
- 09/197: installer: Use a record instead of a list to contain tasks., Danny Milosavljevic, 2017/07/03
- 23/197: installer: Use a cleaner way of generating the lspci information., Danny Milosavljevic, 2017/07/03
- 35/197: installer: New predicate valid-hostname?, Danny Milosavljevic, 2017/07/03
- 36/197: installer: Ensure that all mount-points have a file system., Danny Milosavljevic, 2017/07/03
- 39/197: installer: Replace an instance of cdr with match., Danny Milosavljevic, 2017/07/03
- 46/197: installer: Replace "%temporary-configuration-file-port" with "config-file"., Danny Milosavljevic, 2017/07/03