Function: LaTeX-fill-section

LaTeX-fill-section is an interactive and byte-compiled function defined in latex.el.

Signature

(LaTeX-fill-section JUSTIFY)

Documentation

Fill and indent current logical section as LaTeX text.

With prefix argument JUSTIFY, justify as well.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-fill-section (justify)
  "Fill and indent current logical section as LaTeX text.

With prefix argument JUSTIFY, justify as well."
  (declare (modes LaTeX-mode))
  (interactive "*P")
  (save-excursion
    (LaTeX-mark-section)
    (re-search-forward "{\\([^}]+\\)}")
    (LaTeX-fill-region (region-beginning) (region-end) justify
                       (concat " section " (TeX-match-buffer 1)))))