aboutsummaryrefslogtreecommitdiff
path: root/module/calp/util/config.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-14 21:08:16 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-16 23:28:34 +0200
commit78fd74622dca5f2def261506c3f8d4c0a940a6c4 (patch)
tree87b8362454c759b680fe566229b5adbc3f25e712 /module/calp/util/config.scm
parentChange NOTE to TODO. (diff)
downloadcalp-78fd74622dca5f2def261506c3f8d4c0a940a6c4.tar.gz
calp-78fd74622dca5f2def261506c3f8d4c0a940a6c4.tar.xz
Change gettext '_' to 'G_'.
Guile 3 reserves _ for other stuff.
Diffstat (limited to 'module/calp/util/config.scm')
-rw-r--r--module/calp/util/config.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/calp/util/config.scm b/module/calp/util/config.scm
index aba2cd2c..d2bff5ac 100644
--- a/module/calp/util/config.scm
+++ b/module/calp/util/config.scm
@@ -19,7 +19,7 @@
args))
(define %configuration-error
- (_ "Pre-property failed when setting ~s to ~s"))
+ (G_ "Pre-property failed when setting ~s to ~s"))
(define-syntax-rule (define-once-public symbol binding)
(begin (define-once symbol binding)
@@ -27,7 +27,7 @@
(define-syntax (define-config stx)
(syntax-case stx ()
- ((_ name default kw ...)
+ ((G_ name default kw ...)
(let ((pre (cond ((memv pre: (fix-keywords #'(kw ...))) => cadr) (else #f)))
(post (cond ((memv post: (fix-keywords #'(kw ...))) => cadr) (else #f))))
#`(define-once-public name