emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 25/299: * tex.el (TeX-command-list): Add command to run ChkTeX.


From: Stefan Monnier
Subject: [elpa] 25/299: * tex.el (TeX-command-list): Add command to run ChkTeX.
Date: Sun, 02 Nov 2014 03:09:58 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit d988ddd5e75f8fa6dcf28542f6e563e86d0c4cc3
Author: Tassilo Horn <address@hidden>
Date:   Sun Jan 13 11:05:48 2013 +0000

    * tex.el (TeX-command-list): Add command to run ChkTeX.
---
 ChangeLog |    4 ++++
 tex.el    |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6da5067..901ddbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-11  Ivan Andrus  <address@hidden>
+
+       * tex.el (TeX-command-list): Add command to run ChkTeX.
+
 2013-01-11  Tassilo Horn  <address@hidden>
 
        * Makefile.in (STYLESRC): Add new style files kantlipsum.el,
diff --git a/tex.el b/tex.el
index ab92f8b..7a59a76 100644
--- a/tex.el
+++ b/tex.el
@@ -147,6 +147,8 @@ If nil, none is specified."
     ("Index" "makeindex %s" TeX-run-command nil t :help "Create index file")
     ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
      :help "Check LaTeX file for correctness")
+    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode)
+     :help "Check LaTeX file for common mistakes")
     ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t
      :help "Spell-check the document")
     ("Clean" "TeX-clean" TeX-run-function nil t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]