Function: TeX-insert-punctuation

TeX-insert-punctuation is an interactive and byte-compiled function defined in tex.el.

Signature

(TeX-insert-punctuation)

Documentation

Insert point or comma, cleaning up preceding space.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-insert-punctuation ()
  "Insert point or comma, cleaning up preceding space."
  (interactive)
  (when abbrev-mode
    (expand-abbrev))
  (if (TeX-looking-at-backward "\\\\/\\(}+\\)" 50)
      (replace-match "\\1" t))
  (call-interactively #'self-insert-command))