Function: occur-word-at-mouse
occur-word-at-mouse is an interactive and byte-compiled function
defined in replace.el.gz.
Signature
(occur-word-at-mouse EVENT)
Documentation
Display an occur buffer for the word at EVENT.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defun occur-word-at-mouse (event)
"Display an occur buffer for the word at EVENT."
(interactive "e")
(let ((word (thing-at-mouse event 'word t)))
(occur (concat "\\<" (regexp-quote word) "\\>"))))