Function: Texinfo-mode-cleanup
Texinfo-mode-cleanup is a byte-compiled function defined in
tex-info.el.
Signature
(Texinfo-mode-cleanup)
Documentation
Cleanup function for Texinfo-mode.
Run after mode hooks and file local variables application.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-info.el
(defun Texinfo-mode-cleanup ()
"Cleanup function for `Texinfo-mode'.
Run after mode hooks and file local variables application."
;; Don't overwrite the value the user set by hooks or file
;; (directory) variables.
(or (local-variable-p 'page-delimiter)
(setq-local page-delimiter
(concat
"^@node [ \t]*[Tt]op\\|^@\\("
texinfo-chapter-level-regexp
"\\)")))
(or (local-variable-p 'TeX-complete-list)
(setq-local TeX-complete-list
(list (list "@\\([a-zA-Z]*\\)" 1 #'TeX-symbol-list-filtered nil)
(list "" TeX-complete-word))))
(TeX-set-mode-name))