Variable: LaTeX-flymake-chktex-options

LaTeX-flymake-chktex-options is a customizable variable defined in latex-flymake.el.

Value

nil

Documentation

A list of strings passed as options to the chktex backend.

You can use this to enable or disable specific warnings by setting it to something like:

  '("-n12" "-w41")

Which would disable warning 12 ("interword spacing should perhaps be used") and enable 41 ("you ought not to use primitive TeX in LaTeX code").

See the chktex manual for warning numbers and details about how to use flags.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex-flymake.el
(defcustom LaTeX-flymake-chktex-options nil
  "A list of strings passed as options to the chktex backend.
You can use this to enable or disable specific warnings by setting it to
something like:

  \\='(\"-n12\" \"-w41\")

Which would disable warning 12 (\"interword spacing should perhaps be
used\") and enable 41 (\"you ought not to use primitive TeX in LaTeX
code\").

See the chktex manual for warning numbers and details about how to use
flags."
  :type '(choice (const :tag "Use chktex defaults" nil)
                 (repeat :tag "Custom chktex options" string))
  :group 'LaTeX)