gnucash maint: [core-utils.scm] typo in guile: use-modules
Christopher Lam
clam at code.gnucash.org
Sun Jan 3 03:03:47 EST 2021
Updated via https://github.com/Gnucash/gnucash/commit/6df74eb9 (commit)
from https://github.com/Gnucash/gnucash/commit/a11d0a35 (commit)
commit 6df74eb94f961413b65ae6dc5a6c52c83676d9b7
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Jan 3 16:02:50 2021 +0800
[core-utils.scm] typo in guile: use-modules
diff --git a/bindings/guile/core-utils.scm b/bindings/guile/core-utils.scm
index a2ea57eec..7b360cb81 100644
--- a/bindings/guile/core-utils.scm
+++ b/bindings/guile/core-utils.scm
@@ -101,9 +101,9 @@
(format port "Unbound variable: ~a. " variable)
(match (known-variable-definition variable)
(() (format port "It is a typo, or inaccessible in current module."))
- ((mod) (format port "Did you forget (use-module ~s)?" mod))
+ ((mod) (format port "Did you forget (use-modules ~s)?" mod))
(modules (format port "It is defined in one of the following modules\n")
- (for-each (cut format port "(use-module ~s)\n" <>) modules))))
+ (for-each (cut format port "(use-modules ~s)\n" <>) modules))))
(_ (default-printer))))
(set-exception-printer! 'unbound-variable print-unbound-variable-error)
Summary of changes:
bindings/guile/core-utils.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list