Function: LaTeX-section-title
LaTeX-section-title is a byte-compiled function defined in latex.el.
Signature
(LaTeX-section-title)
Documentation
Hook to prompt for LaTeX section title.
Insert this hook into LaTeX-section-hook to allow the user to change
the title of the section inserted with M-x LaTeX-section (LaTeX-section).
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-section-title ()
"Hook to prompt for LaTeX section title.
Insert this hook into `LaTeX-section-hook' to allow the user to change
the title of the section inserted with \\[LaTeX-section]."
(setq LaTeX-title (TeX-read-string "Title: " LaTeX-title))
(let ((region (and (TeX-active-mark)
(cons (region-beginning) (region-end)))))
(when region (delete-region (car region) (cdr region)))))