Variable: TeX-one-master

TeX-one-master is a customizable variable defined in tex.el.

Value

"\\.\\(texi?\\|[dl]tx\\)\\'"

Documentation

Regular expression matching ordinary TeX files.

You should set this variable to match the name of all files, where automatically adding a file variable with the name of the master file is a good idea. When AUCTeX adds the name of the master file as a file variable, it does not need to ask next time you edit the file.

If you dislike AUCTeX automatically modifying your files, you can set this variable to "<none>".

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defcustom TeX-one-master "\\.\\(texi?\\|[dl]tx\\)\\'"
  "Regular expression matching ordinary TeX files.

You should set this variable to match the name of all files, where
automatically adding a file variable with the name of the master file
is a good idea.  When AUCTeX adds the name of the master file as a
file variable, it does not need to ask next time you edit the file.

If you dislike AUCTeX automatically modifying your files, you can set
this variable to \"<none>\"."
  :group 'TeX-command
  :type 'regexp)