Function: remove-pos-from-symbol

remove-pos-from-symbol is a function defined in data.c.

Signature

(remove-pos-from-symbol ARG)

Documentation

If ARG is a symbol with position, return it without the position.

Otherwise, return ARG unchanged. Ignore symbols-with-pos-enabled. Compare with bare-symbol, which does the same, but signals an error if ARG is not a symbol.

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  if (SYMBOL_WITH_POS_P (arg))
    return XSYMBOL_WITH_POS_SYM (arg);
  return arg;
}