Function: widget-group-value-create

widget-group-value-create is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-group-value-create WIDGET)

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-group-value-create (widget)
  ;; Create each component.
  (let ((value (widget-get widget :value))
	answer children)
    (dolist (arg (widget-get widget :args))
      (setq answer (widget-match-inline arg value)
	    value (cdr answer))
      (and (widget--should-indent-p)
	   (widget-get widget :indent)
	   (insert-char ?\s (widget-get widget :indent)))
      (push (cond ((null answer)
		   (widget-create-child widget arg))
                  ((widget-inline-p arg t)
		   (widget-create-child-value widget arg (car answer)))
		  (t
		   (widget-create-child-value widget arg (car (car answer)))))
	    children))
    (widget-put widget :children (nreverse children))))