Function: hmouse-context-menu

hmouse-context-menu is an interactive and byte-compiled function defined in hui-window.el.

Signature

(hmouse-context-menu)

Documentation

If running under a window system, display or hide the buffer menu.

If not running under a window system and Smart Menus are loaded, display the appropriate Smart Menu for the context at point. (Smart Menus are a part of InfoDock and not a part of Hyperbole).

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
(defun hmouse-context-menu ()
  "If running under a window system, display or hide the buffer menu.
If not running under a window system and Smart Menus are loaded, display the
appropriate Smart Menu for the context at point.  (Smart Menus are a
part of InfoDock and not a part of Hyperbole)."
  (interactive)
  (if (and (fboundp 'smart-menu)
	   (null window-system))
      (smart-menu)
    (let ((wind (get-buffer-window "*Buffer List*"))
	  owind)
      (if wind
	  (unwind-protect
	      (progn (setq owind (selected-window))
		     (select-window wind)
		     (bury-buffer nil))
	    (select-window owind))
	(buffer-menu)))))