Function: custom-convert-widget
custom-convert-widget is a byte-compiled function defined in
cus-edit.el.gz.
Signature
(custom-convert-widget WIDGET)
Documentation
Initialize :value and :tag from :args in WIDGET.
Source Code
;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom-convert-widget (widget)
"Initialize :value and :tag from :args in WIDGET."
(let ((args (widget-get widget :args)))
(when args
(widget-put widget :value (widget-apply widget
:value-to-internal (car args)))
(widget-put widget :tag (custom-unlispify-tag-name (car args)))
(widget-put widget :args nil)))
widget)