aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtes2008-02-14 12:30:06 +0100
committerLudovic Courtes2008-02-14 12:30:06 +0100
commit89e2788e93d2218e2c4f8b251ab4f046bb3bba93 (patch)
treebc9c6fcaa7f6b37407dc2cd0f8f7754e65b9a77c
parentafbdb74630c7fef3b71acf6ef85a70b9a2941ba2 (diff)
downloadskribilo-89e2788e93d2218e2c4f8b251ab4f046bb3bba93.tar.gz
skribilo-89e2788e93d2218e2c4f8b251ab4f046bb3bba93.tar.lz
skribilo-89e2788e93d2218e2c4f8b251ab4f046bb3bba93.zip
Remove Guile warnings for duplicate bindings.
-rwxr-xr-xsrc/skribilo.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/skribilo.in b/src/skribilo.in
index 677856a..95d75b7 100755
--- a/src/skribilo.in
+++ b/src/skribilo.in
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2005, 2006, 2007 Ludovic Courtès <ludo@gnu.org>
+# Copyright 2005, 2006, 2007, 2008 Ludovic Courtès <ludo@gnu.org>
#
#
# This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,10 @@
main='(module-ref (resolve-interface '\''(skribilo)) '\'skribilo')'
exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -c "
+
+;; Tell Guile not to issue warnings about duplicate bindings.
+(default-duplicate-binding-handler '(last))
+
(use-modules (skribilo condition))
(call-with-skribilo-error-catch/exit