Function: eieio-browse

eieio-browse is an autoloaded, interactive and byte-compiled function defined in eieio-opt.el.gz.

Signature

(eieio-browse &optional ROOT-CLASS)

Documentation

Create an object browser window to show all objects.

If optional ROOT-CLASS, then start with that, otherwise start with variable eieio-default-superclass(var)/eieio-default-superclass(fun).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-opt.el.gz
;;; Code:
;;;###autoload
(defun eieio-browse (&optional root-class)
  "Create an object browser window to show all objects.
If optional ROOT-CLASS, then start with that, otherwise start with
variable `eieio-default-superclass'."
  (interactive (if current-prefix-arg
		   (list (read (completing-read "Class: "
						(eieio-build-class-alist)
						nil t)))
		 nil))
  (if (not root-class) (setq root-class 'eieio-default-superclass))
  (cl-check-type root-class class)
  (display-buffer (get-buffer-create "*EIEIO OBJECT BROWSE*") t)
  (with-current-buffer (get-buffer "*EIEIO OBJECT BROWSE*")
    (erase-buffer)
    (goto-char 0)
    (eieio-browse-tree root-class "" "")
    ))