Function: LaTeX-section-label

LaTeX-section-label is a byte-compiled function defined in latex.el.

Signature

(LaTeX-section-label)

Documentation

Hook to insert a label after the sectioning command.

Insert this hook into LaTeX-section-hook to prompt for a label to be inserted after the sectioning command.

The behaviour of this hook is controlled by variable LaTeX-section-label(var)/LaTeX-section-label(fun).

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-section-label ()
  "Hook to insert a label after the sectioning command.
Insert this hook into `LaTeX-section-hook' to prompt for a label to be
inserted after the sectioning command.

The behaviour of this hook is controlled by variable `LaTeX-section-label'."
  (and (LaTeX-label LaTeX-name 'section)
       (LaTeX-newline)))