Function: hyperbole

hyperbole is an autoloaded, interactive and byte-compiled function defined in hui-mini.el.

Signature

(hyperbole &optional MENU MENU-LIST DOC-FLAG HELP-STRING-FLAG)

Documentation

Invoke the Hyperbole minibuffer menu when not already active.

C-h h (hyperbole) runs this. Non-interactively, return t if a menu is displayed by this call, else nil (e.g. when already in a Hyperbole mini-menu).

Two optional arguments may be given to invoke alternative menus. MENU (a symbol) specifies the menu to invoke from MENU-LIST, (a Hyperbole menu list structure). MENU defaults to 'hyperbole and MENU-LIST to hui:menus. See hui:menus definition for the format of the menu list structure.

Two additional optional arguments may be given when documentation for a menu item should be shown rather than display of a menu. DOC-FLAG non-nil means show documentation for any item that is selected by the user. HELP-STRING-FLAG non-nil means show only the first line of the documentation, not the full text.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mini.el
;;; ************************************************************************
;;; Public functions
;;; ************************************************************************

;;; Used as the autoloaded main entry point to Hyperbole.  The "hyperbole"
;;; file is loaded when this is invoked.
;;; This command brings up a series of minibuffer menus of Hyperbole commands.
;;;###autoload
(defun hyperbole (&optional menu menu-list doc-flag help-string-flag)
  "Invoke the Hyperbole minibuffer menu when not already active.
\\[hyperbole] runs this.  Non-interactively, return t if a menu is
displayed by this call, else nil (e.g. when already in a Hyperbole
mini-menu).

Two optional arguments may be given to invoke alternative menus.
MENU (a symbol) specifies the menu to invoke from MENU-LIST, (a
Hyperbole menu list structure).  MENU defaults to \\='hyperbole and MENU-LIST
to `hui:menus'.  See `hui:menus' definition for the format of the menu list
structure.

Two additional optional arguments may be given when documentation for
a menu item should be shown rather than display of a menu.  DOC-FLAG
non-nil means show documentation for any item that is selected by the
user.  HELP-STRING-FLAG non-nil means show only the first line of the
documentation, not the full text."

  (interactive (list nil nil nil nil))
  (if (and hui:menu-p (> (minibuffer-depth) 0))
      (progn (beep t) nil)
    (unwind-protect
	(progn
	  (hyperbole-mode 1)
	  (hyperb:init-menubar)
	  (setq hui:menu-p t)
	  (hui:menu-act (or menu 'hyperbole) menu-list doc-flag help-string-flag)
	  t)
      (setq hui:menu-p nil))))