Function: bounds-of-thing-at-mouse
bounds-of-thing-at-mouse is an autoloaded and byte-compiled function
defined in thingatpt.el.gz.
Signature
(bounds-of-thing-at-mouse EVENT THING)
Documentation
Determine start and end locations for THING at mouse click given by EVENT.
Like bounds-of-thing-at-point, but tries to use the position in EVENT
where the mouse button is clicked to find the thing nearby.
Source Code
;; Defined in /usr/src/emacs/lisp/thingatpt.el.gz
;;;###autoload
(defun bounds-of-thing-at-mouse (event thing)
"Determine start and end locations for THING at mouse click given by EVENT.
Like `bounds-of-thing-at-point', but tries to use the position in EVENT
where the mouse button is clicked to find the thing nearby."
(save-excursion
(mouse-set-point event)
(bounds-of-thing-at-point thing)))