Skip to main content

*compile-verbose*

compile-verbose∗ Variable

Value Type:

a generalized boolean.

Initial Value:

implementation-dependent.

Description:

The value of *compile-print* is the default value of the :print argument to compile-file. The value of *compile-verbose* is the default value of the :verbose argument to compile-file.

See Also:

compile-file

System

load-print,

Expanded Reference: *compile-verbose*

Default verbosity for compile-file

*compile-verbose* provides the default value for the :verbose argument to compile-file. Its initial value is implementation-dependent.

(typep *compile-verbose* 'boolean)
=> T

Controlling compile-file output

Binding *compile-verbose* to t causes compile-file to print progress information by default.

(let ((*compile-verbose* t))
(compile-file "/tmp/cl-cf-test.lisp"))
; Implementation may print compilation progress
;; => #P"/tmp/cl-cf-test.fasl" ; implementation-dependent
;; => NIL
;; => NIL

Suppressing compile-file output

Binding it to nil suppresses the default verbose output.

(let ((*compile-verbose* nil))
(compile-file "/tmp/cl-cf-test.lisp"))
; No verbose output printed
;; => #P"/tmp/cl-cf-test.fasl" ; implementation-dependent
;; => NIL
;; => NIL