Variable: TeX-insert-macro-default-style

TeX-insert-macro-default-style is a customizable variable defined in tex.el.

Value

show-optional-args

Documentation

Specifies whether TeX-insert-macro will ask for all optional arguments.

If set to the symbol show-optional-args, TeX-insert-macro asks for optional arguments of TeX marcos, unless the previous optional argument has been rejected. If set to show-all-optional-args, TeX-insert-macro asks for all optional arguments. If set to mandatory-args-only, TeX-insert-macro asks only for mandatory argument.

When TeX-insert-macro is called with C-u (universal-argument), it's the other way round.

Note that for some macros, there are special mechanisms, see for example LaTeX-includegraphics-options-alist and TeX-arg-cite-note-p.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defcustom TeX-insert-macro-default-style 'show-optional-args
  "Specifies whether `TeX-insert-macro' will ask for all optional arguments.

If set to the symbol `show-optional-args', `TeX-insert-macro'
asks for optional arguments of TeX marcos, unless the previous
optional argument has been rejected.  If set to
`show-all-optional-args', `TeX-insert-macro' asks for all
optional arguments.  If set to `mandatory-args-only',
`TeX-insert-macro' asks only for mandatory argument.

When `TeX-insert-macro' is called with \\[universal-argument], it's the other
way round.

Note that for some macros, there are special mechanisms, see for example
`LaTeX-includegraphics-options-alist' and `TeX-arg-cite-note-p'."
  :group 'TeX-macro
  :type '(choice (const mandatory-args-only)
                 (const show-optional-args)
                 (const show-all-optional-args)))