with-default-features [Macro]


Purpose

The with-default-features macro effectively sets all Loom features to their default values, executes a body of code, and then resets the features to their original values.

Syntax

with-default-features &body body

Arguments

The body argument is one or more Lisp forms to be executed with the default feature settings.

Value

The with-default-features macro returns the value of the last form in body.

Remarks

The default features are: :ask-about-redefinitions, :automatic-clos-classes, :clip-roles, :display-match-changes, :emit-classify-dots, :emit-match-stars, :open-world, :warn-about-syntax-corrections, :warn-on-nonprimitive-clos-classes

Examples

(with-default-features  
    (do-this) 
    (do-that))

See Also

Last modified: Jun 1 1995