Function: rst-toc-mouse-follow-link

rst-toc-mouse-follow-link is an interactive and byte-compiled function defined in rst.el.gz.

Signature

(rst-toc-mouse-follow-link EVENT KILL)

Documentation

In rst-toc mode, go to the occurrence whose line you click on.

EVENT is the input event. Kill TOC buffer if KILL.

Key Bindings

Aliases

rst-toc-mode-mouse-goto (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
(defun rst-toc-mouse-follow-link (event kill)
  ;; testcover: uncovered.
  "In `rst-toc' mode, go to the occurrence whose line you click on.
EVENT is the input event.  Kill TOC buffer if KILL."
  (interactive "e\ni")
  (rst-toc-follow-link (window-buffer (posn-window (event-end event)))
		       (posn-point (event-end event)) kill))