Function: custom-variable-backup-value

custom-variable-backup-value is a byte-compiled function defined in cus-edit.el.gz.

Signature

(custom-variable-backup-value WIDGET)

Documentation

Back up the current value for WIDGET's variable.

The backup value is kept in the car of the backup-value property.

Source Code

;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom-variable-backup-value (widget)
  "Back up the current value for WIDGET's variable.
The backup value is kept in the car of the `backup-value' property."
  (let ((symbol (widget-value widget))
	(value (custom-variable-current-value widget)))
    (put symbol 'backup-value (list value))))