Previous: Symbol Plists, Up: Symbol Properties
Here, we list the symbol properties which are used for special purposes in Emacs. In the following table, whenever we say “the named function”, that means the function whose name is the relevant symbol; similarly for “the named variable” etc.
:advertised-binding
char-table-extra-slots
nil
, specifies the number of extra slots in
the named char-table type. See Char-Tables.
customized-face
face-defface-spec
saved-face
theme-face
defface
and related functions. See Defining Faces.
customized-value
saved-value
standard-value
theme-value
defcustom
and
related functions. See Variable Definitions.
disabled
nil
, the named function is disabled as a
command. See Disabling Commands.
face-documentation
defface
. See Defining Faces.
history-length
nil
, specifies the maximum minibuffer history
length for the named history list variable. See Minibuffer History.
interactive-form
interactive
special
form instead. See Interactive Call.
menu-enable
mode-class
special
, the named major mode is special.
See Major Mode Conventions.
permanent-local
nil
, the named variable is a buffer-local
variable whose value should not be reset when changing major modes.
See Creating Buffer-Local.
permanent-local-hook
nil
, the named function should not be
deleted from the local value of a hook variable when changing major
modes. See Setting Hooks.
pure
nil
, the named function is considered to be
pure (see What Is a Function). Calls with constant arguments can
be evaluated at compile time. This may shift run time errors to
compile time. Not to be confused with pure storage (see Pure Storage).
risky-local-variable
nil
, the named variable is considered risky
as a file-local variable. See File Local Variables.
safe-function
nil
, the named function is considered
generally safe for evaluation. See Function Safety.
safe-local-eval-function
nil
, the named function is safe to call in
file-local evaluation forms. See File Local Variables.
safe-local-variable
side-effect-free
nil
value indicates that the named function is free of
side effects (see What Is a Function), so the byte compiler may
ignore a call whose value is unused. If the property's value is
error-free
, the byte compiler may even delete such unused
calls. In addition to byte compiler optimizations, this property is
also used for determining function safety (see Function Safety).
variable-documentation
nil
, this specifies the named variable's documentation
string. This is set automatically by defvar
and related
functions. See Defining Faces.