monnier pushed a commit to branch externals/auctex
in repository elpa.
commit fb40d4253a9937a325b39ad886ba709d07016c3d
Author: Mosè Giordano <[email protected]>
Date: Tue May 27 00:24:28 2014 +0200
Add TeX-previous-error to Command menu.
* tex.el (TeX-mode-specific-command-menu-entries): Add
`TeX-previous-error'.
* tex-buf.el (TeX-error-list): Fix typo.
(TeX-parse-all-errors): Ditto.
---
ChangeLog | 8 ++++++++
tex-buf.el | 4 ++--
tex.el | 2 ++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c873968..521819d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-05-27 Mos� Giordano <[email protected]>
+
+ * tex.el (TeX-mode-specific-command-menu-entries): Add
+ `TeX-previous-error'.
+
+ * tex-buf.el (TeX-error-list): Fix typo.
+ (TeX-parse-all-errors): Ditto.
+
2014-05-23 Stefan Monnier <[email protected]>
Backport from ELPA repository.
diff --git a/tex-buf.el b/tex-buf.el
index 6329936..7e016da 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1556,7 +1556,7 @@ You might want to examine and modify the free variables
`file',
`offset', `line', `string', `error', and `context' from this hook.")
(defvar TeX-error-list nil
- "List of warning and errors.
+ "List of warnings and errors.
This variable is intended to be set only in output buffer so it
will be shared among all files of the same document.")
@@ -1565,7 +1565,7 @@ will be shared among all files of the same document.")
(defcustom TeX-parse-all-errors t
"Whether to automatically collect all warning and errors after running TeX.
-If t, it make it possible to use `TeX-previous-error' with TeX
+If t, it makes it possible to use `TeX-previous-error' with TeX
commands."
:group 'TeX-command
:type 'boolean)
diff --git a/tex.el b/tex.el
index 2415219..89b7437 100644
--- a/tex.el
+++ b/tex.el
@@ -4419,6 +4419,8 @@ Brace insertion is only done if point is in a math
construct and
:help "Kill the current TeX process"]
["Next Error" TeX-next-error
:help "Jump to the next error of the last TeX run"]
+ ["Previous Error" TeX-previous-error
+ :help "Jump to the previous error of the last TeX run"]
["Quick View" TeX-view
:help "Start a viewer without prompting"]
"-"