Function: hmouse-save-region

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

Signature

(hmouse-save-region)

Documentation

Save to hkey-region and return any active region within the current buffer.

transient-mark-mode(var)/transient-mark-mode(fun) must be t or this sets hkey-region to nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
(defun hmouse-save-region ()
  "Save to `hkey-region' and return any active region within the current buffer.
`transient-mark-mode' must be t or this sets `hkey-region' to nil."
  (setq hkey-region
	(when (hmouse-use-region-p)
	  (buffer-substring (region-beginning) (region-end)))))