aboutsummaryrefslogtreecommitdiff
path: root/src/guile/skribilo.scm
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile/skribilo.scm')
-rw-r--r--src/guile/skribilo.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/guile/skribilo.scm b/src/guile/skribilo.scm
index f683080..dbaa368 100644
--- a/src/guile/skribilo.scm
+++ b/src/guile/skribilo.scm
@@ -413,9 +413,7 @@ Processes a Skribilo/Skribe source file and produces its output.
;; Parse the most important options.
- (set-skribe-debug! (string->number debugging-level))
-
- (if (> (skribe-debug) 4)
+ (if (> (*debug*) 4)
(set! %load-hook
(lambda (file)
(format #t "~~ loading `~a'...~%" file))))
@@ -428,6 +426,7 @@ Processes a Skribilo/Skribe source file and produces its output.
(append %load-path
(*source-path*))))
(*image-path* (cons image-path (*image-path*)))
+ (*debug* (string->number debugging-level))
(*warning* (string->number warning-level))
(*verbose* (let ((v (option-ref options
'verbose 0)))