-- UnregisterDoc.tioga
-- last edited by: L. Stewart, December 12, 1983 5:21 pm
name Unregister:
syntax
Unregister fullPathName
A Commander.Lookup[fullPathName] is done. If the name exists, then the name is re-registered with a NIL CommandProc, effectively wiping out what was there before.
description
Unregister a command, so that it can no longer be invoked.
examples
% Unregister Alias
Unregister: Alias not found
% Unregister ///Commands/Alias
% Alias
[[Alias . . . not found]]
%
warnings
Unregister just sets the proc field of the stored record to NIL, so that clients of Commander.Lookup must be careful to check that the proc field of the CommandProcHandles returned by Lookup are not NIL.
Someday, this command may merely rename these to-be-deleted commands into another "directory" from which they can be retrieved.
stop/undo
Probably too fast to stop.
implementation
InitialCommandsImpl.mesa in CommandTool.df
contact
L. C. Stewart <Stewart.pa>
keyword hints
help button info man
keywords
to be supplied by the Index Czar