Function: widget-choice-match

widget-choice-match is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-choice-match WIDGET VALUE)

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-choice-match (widget value)
  ;; Matches if one of the choices matches.
  (let ((args (widget-get widget :args))
	current found)
    (while (and args (not found))
      (setq current (car args)
	    args (cdr args)
	    found (widget-apply current :match value)))
    found))