Function: webjump-read-choice

webjump-read-choice is a byte-compiled function defined in webjump.el.gz.

Signature

(webjump-read-choice NAME WHAT CHOICES &optional DEFAULT)

Source Code

;; Defined in /usr/src/emacs/lisp/net/webjump.el.gz
(defun webjump-read-choice (name what choices &optional default)
  (let* ((completion-ignore-case t)
         (choice (completing-read (concat name " " what ": ") choices nil t)))
    (if (webjump-null-or-blank-string-p choice)
        default
      (cdr (assoc choice choices)))))