Function: hmouse-prior-active-region

hmouse-prior-active-region is a byte-compiled function defined in hui-window.el.

Signature

(hmouse-prior-active-region)

Documentation

Return t if there is an active region in buffer of last Smart Mouse Key release.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
(defun hmouse-prior-active-region ()
  "Return t if there is an active region in buffer of last Smart Mouse Key release."
  (when (and (setq hkey-value (if assist-flag assist-key-depress-prev-point action-key-depress-prev-point))
	     (buffer-live-p (marker-buffer hkey-value)))
    (save-excursion
      (with-current-buffer (marker-buffer hkey-value)
	;; Store and goto any prior value of point from the region
	;; prior to the Smart Key depress, so we can return to it later.
	(and (goto-char hkey-value)
	     (hmouse-save-region)
	     t)))))