Function: bare-symbol

bare-symbol is a function defined in data.c.

Signature

(bare-symbol SYM)

Documentation

Extract, if need be, the bare symbol from SYM.

SYM must be either a symbol or a symbol with position, otherwise the function will signal the wrong-type-argument error. This function ignores symbols-with-pos-enabled.

View in manual

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  if (BARE_SYMBOL_P (sym))
    return sym;
  if (SYMBOL_WITH_POS_P (sym))
    return XSYMBOL_WITH_POS_SYM (sym);
  xsignal2 (Qwrong_type_argument, list2 (Qsymbolp, Qsymbol_with_pos_p), sym);
}