diff --git a/guile/examples/contacts-export b/guile/examples/contacts-export index bac04302..bc7a3e6c 100755 --- a/guile/examples/contacts-export +++ b/guile/examples/contacts-export @@ -23,7 +23,7 @@ exec guile -e main -s $0 $@ (use-modules (ice-9 getopt-long)) (use-modules (srfi srfi-1)) -(use-modules (mu) (mu contact)) +(use-modules (mu) (mu message) (mu contact)) (define (sort-by-freq c1 c2) (< (frequency c1) (frequency c2))) @@ -66,7 +66,7 @@ exec guile -e main -s $0 $@ (display msg) (exit 0)) (begin - (mu:initialize muhome) + (mu:initialize #t muhome) (let* ((sort-func (cond ((string= sort-by "frequency") sort-by-freq) diff --git a/guile/examples/msg-stats b/guile/examples/msg-stats index 0c7db4c7..f3dbbc11 100755 --- a/guile/examples/msg-stats +++ b/guile/examples/msg-stats @@ -21,7 +21,7 @@ exec guile -e main -s $0 $@ ;; Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. (use-modules (ice-9 getopt-long) (ice-9 optargs) (ice-9 popen) (ice-9 format)) -(use-modules (mu) (mu message)) +(use-modules (mu) (mu message) (mu stats)) (define* (per-weekday #:optional (EXPR "")) "Count the total number of messages for each weekday (0-6 for @@ -168,7 +168,7 @@ then be used in, e.g., R and gnuplot." (begin (display msg) (exit (if help 0 1)))) - (mu:initialize muhome) + (mu:initialize #t muhome) (cond ((string= period "hour") (mu:plot:per-hour expr)) ((string= period "day") (mu:plot:per-weekday expr))