Function: ede-choose-object

ede-choose-object is a byte-compiled function defined in ede.el.gz.

Signature

(ede-choose-object PROMPT LIST-O-O)

Documentation

Using PROMPT, ask the user which OBJECT to use based on the name field.

Argument LIST-O-O is the list of objects to choose from.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede.el.gz
(defun ede-choose-object (prompt list-o-o)
  "Using PROMPT, ask the user which OBJECT to use based on the name field.
Argument LIST-O-O is the list of objects to choose from."
  (let* ((al (object-assoc-list 'name list-o-o))
	 (ans (completing-read prompt al nil t)))
    (setq ans (assoc ans al))
    (cdr ans)))