From 89e2788e93d2218e2c4f8b251ab4f046bb3bba93 Mon Sep 17 00:00:00 2001 From: Ludovic Courtes Date: Thu, 14 Feb 2008 12:30:06 +0100 Subject: Remove Guile warnings for duplicate bindings. --- src/skribilo.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +# Copyright 2005, 2006, 2007, 2008 Ludovic Courtès # # # 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 -- cgit v1.2.3