Function: widget-plist-convert-option

widget-plist-convert-option is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-plist-convert-option OPTION)

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-plist-convert-option (option)
  ;; Convert a single plist option.
  (let (key-type value-type)
    (if (listp option)
	(let ((key (nth 0 option)))
	  (setq value-type (nth 1 option))
	  (setq key-type (if (listp key) key `(const ,key))))
      (setq key-type `(const ,option)
	    value-type widget-plist-value-type))
    `(group :format "Key: %v" :inline t ,key-type ,value-type)))