delete-method [Function]


Purpose

The delete-method function deletes a method from a specified action.

Syntax

delete-method &key action title method error-p

Arguments

The action argument is the action from which the method is to be deleted.

The title argument is a string which titles the method.

The method argument is a method.

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

Value

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

Remarks

Calls to delete-method must supply either (1) action and title arguments, or (2) a method argument.

Examples

(delete-method :method (first (list-methods (fb move)))) ==> 
    |METHOD|MOVE-:UNTITLED 
(delete-method :action (fb move) :title "move box") ==> 
    |METHOD|MOVE-"move box"

See Also

Last modified: Jun 1 1995