Function: makunbound

makunbound is a function defined in data.c.

Signature

(makunbound SYMBOL)

Documentation

Empty out the value cell of SYMBOL, making it void as a variable.

Return SYMBOL.

If a variable is void, trying to evaluate the variable signals a void-variable error, instead of returning a value. For more details, see Info node (elisp) Void Variables.

See also fmakunbound.

View in manual

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  CHECK_SYMBOL (symbol);
  if (SYMBOL_CONSTANT_P (symbol))
    xsignal1 (Qsetting_constant, symbol);
  Fset (symbol, Qunbound);
  return symbol;
}