Function: eieio-read-class
eieio-read-class is a byte-compiled function defined in
eieio-opt.el.gz.
Signature
(eieio-read-class PROMPT &optional HISTVAR INSTANTIABLE-ONLY)
Documentation
Return a class chosen by the user using PROMPT.
Optional argument HISTVAR is a variable to use as history. If INSTANTIABLE-ONLY is non-nil, only allow names of classes which are not abstract.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-opt.el.gz
(defun eieio-read-class (prompt &optional histvar instantiable-only)
"Return a class chosen by the user using PROMPT.
Optional argument HISTVAR is a variable to use as history.
If INSTANTIABLE-ONLY is non-nil, only allow names of classes which
are not abstract."
(intern (completing-read prompt (eieio-build-class-alist nil instantiable-only)
nil t nil
(or histvar 'eieio-read-class))))