[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/80: installer: Change N_ from a procedure to a macro.
From: |
John Darrington |
Subject: |
60/80: installer: Change N_ from a procedure to a macro. |
Date: |
Tue, 3 Jan 2017 15:49:45 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 870976aa1019dd23335cb00ccead3ad79b789729
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"
- 62/80: installer: Use global variable instead of string literal for "/gnu"., (continued)
- 62/80: installer: Use global variable instead of string literal for "/gnu"., John Darrington, 2017/01/03
- 63/80: installer: Do not use /tmp for holding the configuration., John Darrington, 2017/01/03
- 56/80: installer: Replace spawned mount command with the mount syscall., John Darrington, 2017/01/03
- 53/80: installer: Replace "%temporary-configuration-file-port" with "config-file"., John Darrington, 2017/01/03
- 51/80: installer: Use consistent window heights., John Darrington, 2017/01/03
- 15/80: installer: Add procedures to replace car/cdr since these are frounded upon by Guile gurus., John Darrington, 2017/01/03
- 65/80: installer: Add flags to indicate network interface status., John Darrington, 2017/01/03
- 66/80: installer: Format configuration to fix width of window., John Darrington, 2017/01/03
- 80/80: installer: Use --fallback when installing., John Darrington, 2017/01/03
- 69/80: installer: Add page with which the wifi password can be entered., John Darrington, 2017/01/03
- 60/80: installer: Change N_ from a procedure to a macro.,
John Darrington <=
- 67/80: installer: Do not allow forms to set the cursor visibility., John Darrington, 2017/01/03
- 74/80: installer: Add option to final page to reboot the system., John Darrington, 2017/01/03
- 77/80: installer: Remove "continue" button from host name page., John Darrington, 2017/01/03
- 76/80: installer: Add new page to set the system role., John Darrington, 2017/01/03
- 79/80: installer: Add confidence indicator., John Darrington, 2017/01/03
- 73/80: Merge remote-tracking branch 'origin/master' into wip-installer, John Darrington, 2017/01/03
- 68/80: installer: Indicate which wireless access points are encrypted., John Darrington, 2017/01/03
- 01/80: gnu: Add graphical installer, John Darrington, 2017/01/03