Function: rst-toc-mode-follow-link-kill

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

Signature

(rst-toc-mode-follow-link-kill)

Documentation

Follow the link to the section at point and kill the TOC buffer.

Key Bindings

Aliases

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

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
;; FIXME: Cursor before or behind the list must be handled properly; before the
;;        list should jump to the top and behind the list to the last normal
;;        paragraph.
(defun rst-toc-mode-follow-link-kill ()
  ;; testcover: ok.
  "Follow the link to the section at point and kill the TOC buffer."
  (interactive)
  (rst-toc-follow-link (current-buffer) (point) t))