Function: mouse-region-match

mouse-region-match is a byte-compiled function defined in mouse.el.gz.

Signature

(mouse-region-match)

Documentation

Return non-nil if there's an active region that was set with the mouse.

Source Code

;; Defined in /usr/src/emacs/lisp/mouse.el.gz
(defun mouse-region-match ()
  "Return non-nil if there's an active region that was set with the mouse."
  (and (mark t) mark-active
       (eq mouse-last-region-beg (region-beginning))
       (eq mouse-last-region-end (region-end))
       (eq mouse-last-region-tick (buffer-modified-tick))))