Function: hmouse-function

hmouse-function is a byte-compiled function defined in hmouse-drv.el.

Signature

(hmouse-function FUNC ASSISTING SET-POINT-ARG-LIST)

Documentation

Execute FUNC for Action Key, or for Assist Key when ASSISTING is non-nil.

Set point from SET-POINT-ARG-LIST. Use Assist Key with ASSISTING non-nil. FUNC may be nil in which case no function is called. SET-POINT-ARG-LIST is passed to the call of the command bound to hmouse-set-point-command. Return nil if hmouse-set-point-command variable is not bound to a valid function.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
(defun hmouse-function (func assisting set-point-arg-list)
  "Execute FUNC for Action Key, or for Assist Key when ASSISTING is non-nil.
Set point from SET-POINT-ARG-LIST.  Use Assist Key with ASSISTING
non-nil.  FUNC may be nil in which case no function is called.
SET-POINT-ARG-LIST is passed to the call of the command bound to
`hmouse-set-point-command'.  Return nil if
`hmouse-set-point-command' variable is not bound to a valid
function."
  (when (fboundp hmouse-set-point-command)
    (setq action-mouse-key-prefix-arg current-prefix-arg)
    (let ((release-args (hmouse-set-point set-point-arg-list)))
      (if assisting
	  (setq assist-key-release-args release-args)
	(setq action-key-release-args release-args)))
    (when func
      (funcall func)
      (setq action-mouse-key-prev-window nil
	    action-mouse-key-prefix-arg nil))
    t))