delete-production [Function]


Purpose

The delete-production function deletes a specified production.

Syntax

delete-production production &key error-p

Arguments

The production argument is the production, or the name of the production, which is to be deleted.

If the error-p argument is t, an error is generated if the specified production cannot be found.

Value

The delete-production function returns the specified production, or nil if the production cannot be found and error-p is not set.

Remarks

This function renders productions inoperative but does not actually destroy them.

Examples

(delete-production 'almost-full-container :error-p t) ==> 
    |PRODUCTION|ALMOST-FULL-CONTAINER

See Also

Last modified: Jun 1 1995