Function: TeX-normal-mode
TeX-normal-mode is an interactive and byte-compiled function defined
in tex.el.
Signature
(TeX-normal-mode &optional ARG)
Documentation
Remove all information about this buffer, and apply the style hooks again.
Save buffer first including style information. With optional argument ARG, also reload the style hooks.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-normal-mode (&optional arg)
"Remove all information about this buffer, and apply the style hooks again.
Save buffer first including style information.
With optional argument ARG, also reload the style hooks."
(interactive "*P")
(with-current-buffer
;; In case this is an indirect buffer:
(or (buffer-base-buffer) (current-buffer))
(if arg
(dolist (var TeX-normal-mode-reset-list)
(set var nil)))
(let ((gc-cons-percentage 0.5))
(let ((TeX-auto-save t))
(if (buffer-modified-p)
(save-buffer)
(TeX-auto-write)))
(normal-mode)
;; See also addition to `find-file-hook' in `TeX-mode'.
(when (eq TeX-master 'shared) (TeX-master-file nil nil t))
(TeX-update-style t))))