Function: eudc-select

eudc-select is a byte-compiled function defined in eudc.el.gz.

Signature

(eudc-select CHOICES BEG END)

Documentation

Choose one from CHOICES using a completion.

BEG and END delimit the text which is to be replaced.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-select (choices beg end)
  "Choose one from CHOICES using a completion.
BEG and END delimit the text which is to be replaced."
  (let ((replacement))
   (setq replacement
	 (completing-read "Multiple matches found; choose one: "
			  (mapcar #'list choices)))
   (delete-region beg end)
   (insert replacement)))