Skip to main content

*load-verbose*

load-verbose∗ Variable

Value Type:

a generalized boolean.

Initial Value:

The initial value of *load-print* is false. The initial value of *load-verbose* is implementation dependent.

Description:

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

See Also:

load

Expanded Reference: *load-verbose*

Default verbosity for load

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

;; Check the current value
(typep *load-verbose* 'boolean)
=> T

Controlling default verbose behavior

Setting *load-verbose* to true causes load to print progress information by default.

(let ((*load-verbose* t))
(load "/tmp/cl-load-test.lisp"))
; Implementation may print loading information
=> T

Suppressing verbose output

Setting it to nil suppresses the default verbose output from load.

(let ((*load-verbose* nil))
(load "/tmp/cl-load-test.lisp"))
; No verbose output printed
=> T