Function: hmouse-kill-region
hmouse-kill-region is a byte-compiled function defined in
hui-window.el.
Signature
(hmouse-kill-region)
Documentation
Kill the marked region near where the Smart Key was depressed.
Signals an error if the depress buffer is read-only.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
(defun hmouse-kill-region ()
"Kill the marked region near where the Smart Key was depressed.
Signals an error if the depress buffer is read-only."
;; Region may be in another buffer, so move there if so.
(hmouse-goto-region-prev-point)
(if buffer-read-only
;; In this case, we want an error that will terminate execution so that
;; hkey-region is not reset to nil. This allows the user to fix the
;; problem and then to try killing again.
(error "(hmouse-kill-region): Use {%s} to enable killing from this buffer"
(hmouse-read-only-toggle-key))
(kill-region (or hkey-value (point)) (mark))))