Function: custom-set-default
custom-set-default is a byte-compiled function defined in
custom.el.gz.
Signature
(custom-set-default VARIABLE VALUE)
Documentation
Default :set function for a customizable variable.
Normally, this sets the default value of VARIABLE to VALUE,
but if custom-local-buffer is non-nil,
this sets the local binding in that buffer instead.
Source Code
;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defun custom-set-default (variable value)
"Default :set function for a customizable variable.
Normally, this sets the default value of VARIABLE to VALUE,
but if `custom-local-buffer' is non-nil,
this sets the local binding in that buffer instead."
(if custom-local-buffer
(with-current-buffer custom-local-buffer
(set variable value))
(set-default-toplevel-value variable value)))