Function: default-value
default-value is a function defined in data.c.
Signature
(default-value SYMBOL)
Documentation
Return SYMBOL's default value.
This is the value that is seen in buffers that do not have their own values for this variable. The default value is meaningful for variables with local bindings in certain buffers.
Probably introduced at or before Emacs version 18.
Source Code
// Defined in /usr/src/emacs/src/data.c
{
Lisp_Object value = default_value (symbol);
if (!BASE_EQ (value, Qunbound))
return value;
xsignal1 (Qvoid_variable, symbol);
}