undefine-ks |
| ks-name
&rest ignored-initargs | [Macro] |
Purpose
Undefine (delete) a knowledge source (KS).
Package :agenda-shell
Module :agenda-shell
Arguments and values
ks-name | A symbol naming the KS (not evaluated, but the remaining arguments are evaluated) | |
ignored-initargs | The remaining initialization arguments are ignored | |
deleted-ks-unit-instance | A KS unit instance or nil
|
Returns
The deleted KS unit instance, if
KS
Description
A KS is undefined by deleting the unit instance
corresponding to the KS. The
See also
define-ks
ks-enabled-p
Examples
Undefine the KS named initial
> (undefine-ks initial :trigger-events '((control-shell-started-event)) :execution-function #'initial-ks-function) #<deleted-unit-instance ks initial> > (undefine-ks initial) #<deleted-unit-instance ks initial> > (delete-instance (find-instance-by-name 'initial '(ks :plus-subclasses))) #<deleted-unit-instance ks initial> > (delete-instance (find-instance-by-name 'initial '(ks +))) #<deleted-unit-instance ks initial> >
The GBBopen Project
undefine-ks |