Function: widget-list-default-get

widget-list-default-get is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-list-default-get WIDGET)

Documentation

Return the default external value for a list WIDGET.

The default value is the one stored in the :value property, even if it is nil, or a list with the default value of each component of the list WIDGET.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-list-default-get (widget)
  "Return the default external value for a list WIDGET.

The default value is the one stored in the :value property, even if it is nil,
or a list with the default value of each component of the list WIDGET."
  (widget-apply widget :value-to-external
                (if (widget-member widget :value)
                    (widget-get widget :value)
                  (widget-group-default-get widget))))