Function: get

get is a function defined in fns.c.

Signature

(get SYMBOL PROPNAME)

Documentation

Return the value of SYMBOL's PROPNAME property.

This is the last value stored with (put SYMBOL PROPNAME VALUE).

Probably introduced at or before Emacs version 16.

Aliases

abbrev-get

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  CHECK_SYMBOL (symbol);
  Lisp_Object propval = Fplist_get (CDR (Fassq (symbol, Voverriding_plist_environment)),
                                    propname);
  if (!NILP (propval))
    return propval;
  return Fplist_get (XSYMBOL (symbol)->u.s.plist, propname);
}