makunbound (ANSI and GNU Common Lisp Document)

Next: set, Previous: boundp, Up: Symbols Dictionary

#### 10.2.18 makunbound [Function]

`makunbound` symbol ⇒ symbol

#### Arguments and Values::

symbol—a symbol

#### Description::

Makes the symbol be unbound, regardless of whether it was previously bound.

#### Examples::

     (setf (symbol-value 'a) 1)
     (boundp 'a) ⇒  true
     a ⇒  1
     (makunbound 'a) ⇒  A
     (boundp 'a) ⇒  false

#### Side Effects::

The value cell of symbol is modified.

#### Exceptional Situations::

Should signal an error of type type-error if symbol is not a symbol.

#### See Also::

boundp , fmakunbound