Function: hmouse-set-point
hmouse-set-point is a byte-compiled function defined in hmouse-drv.el.
Signature
(hmouse-set-point ARGS)
Documentation
Set point to Smart Key press/release location given by ARGS.
Return argument list including x and y frame coordinates in characters and lines or if ARGS is null and there is no graphical window system, return current point as a marker.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
;; BW - Last confirmed in 1999, for some reason, using this next
;; function in byte-compiled form caused the first character
;; after a mouse key depress to be dropped from the input queue when running
;; Emacs under X. The non-byte-compiled form always worked fine. We
;; assume this is no longer a problem in 2016 but have this note here
;; in case it is.
(defun hmouse-set-point (args)
"Set point to Smart Key press/release location given by ARGS.
Return argument list including x and y frame coordinates in characters and
lines or if ARGS is null and there is no graphical window system,
return current point as a marker."
(and (car args) (listp (car args)) (setq args (car args)))
(if (and args (hyperb:window-system))
(progn (hmouse-set-point-at args) args)
(list 'keyboard-drag (posn-at-point))))