All Manuals > LispWorks Editor User Guide > 4 Editing Lisp Programs

NextPrevUpTopContentsIndex

4.13 Removing definitions

These commands allow the user to remove definitions from the running Lisp image. It uses Common Lisp functionality such as fmakunbound, makunbound and remove-method to undefine Lisp functions, variables, methods and so on.

Note: This does not mean deleting the source code.

4.13.1 Undefining one definition

Undefine

Editor Command

Argument: None
Key sequence: None

Without a prefix argument, this undefines the current top level definition. That is, the defining form around or preceding the current point.

With a non-nil prefix argument, this does not undefine the definition but instead inserts into the buffer a Lisp form which, if evaluated, would undefine the definition.

Undefine Command

Editor Command

Argument: None
Key sequence: None

Prompts for the name of an Editor command, and undefines that command.

4.13.2 Removing multiple definitions

Undefine Buffer

Editor Command

Argument: None
Key sequence: None

Undefines all the definitions in the current buffer.

Undefine Region

Editor Command

Argument: None
Key sequence: None

Undefines the definitions in the current region.

 


LispWorks Editor User Guide (Unix version) - 9 Dec 2014

NextPrevUpTopContentsIndex