[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b940950 05/26: Define `TeX-parse-all-errors' in
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b940950 05/26: Define `TeX-parse-all-errors' in tex.el |
Date: |
Thu, 12 Aug 2021 11:18:20 -0400 (EDT) |
branch: externals/auctex
commit b94095083e3e8c750238753f788af7cb954292d5
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Define `TeX-parse-all-errors' in tex.el
* tex-buf.el:
* tex.el (TeX-parse-all-errors): Move defintion of custom variable
into tex.el. This variable is also used in
`TeX-mode-specific-command-menu-entries' and results in an error
when selecting 'Command' in the menu bar since tex.el doesn't
require tex-buf.el.
---
tex-buf.el | 9 ---------
tex.el | 13 +++++++++++++
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index 0f3bf18..f282c19 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -291,7 +291,6 @@ at bottom if LINE is nil."
(defvar TeX-current-page)
(defvar TeX-error-overview-open-after-TeX-run)
(defvar TeX-error-list)
-(defvar TeX-parse-all-errors)
(defvar TeX-command-buffer)
(defvar TeX-region)
@@ -2530,14 +2529,6 @@ This variable is intended to be set only in output
buffer so it
will be shared among all files of the same document.")
(make-variable-buffer-local 'TeX-error-list)
-(defcustom TeX-parse-all-errors t
- "Whether to automatically collect all warning and errors after running TeX.
-
-If t, it makes it possible to use `TeX-previous-error' with TeX
-commands."
- :group 'TeX-command
- :type 'boolean)
-
(defun TeX-parse-all-errors ()
"Parse TeX output buffer to collect all warnings and errors."
;; Reset error list.
diff --git a/tex.el b/tex.el
index d964940..917678c 100644
--- a/tex.el
+++ b/tex.el
@@ -713,6 +713,19 @@ sure \"%p\" is the first entry."
(autoload 'TeX-save-document "tex-buf" nil t)
(autoload 'TeX-view "tex-buf" nil t)
+;; This variable used to be defined in tex-buf.el. It is used in
+;; `TeX-mode-specific-command-menu-entries' in this file. It is now
+;; (June 2021) moved into this file to avoid `void-variable' errors
+;; with the "Command" menu if tex-buf.el is not loaded yet for reasons
+;; mentioned above.
+(defcustom TeX-parse-all-errors t
+ "Whether to automatically collect all warning and errors after running TeX.
+
+If t, it makes it possible to use `TeX-previous-error' with TeX
+commands."
+ :group 'TeX-command
+ :type 'boolean)
+
;;; Portability.
(defmacro TeX--if-macro-fboundp (name then &rest else)
- [elpa] externals/auctex updated (6c32b97 -> ceb169a), Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 1b1361c 01/26: Make TeX-fold-mode aware of superscript and subscript, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 268fcac 03/26: ; Improve previous commit, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 32e93a0 04/26: Fix bug#36651, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex b940950 05/26: Define `TeX-parse-all-errors' in tex.el,
Tassilo Horn <=
- [elpa] externals/auctex 01b30cb 02/26: Fix filling of code-and-comment lins where code ended in \% (bug#48937), Tassilo Horn, 2021/08/12
- [elpa] externals/auctex ae6a21d 07/26: Fix arguments given to makeglossaries, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex c504093 06/26: ; * latex.el: Avoid potential compiler warning., Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 8c81f42 09/26: Fix doc strings and comment, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 98a059a 10/26: ; * doc/changes.texi: Fix markups., Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 30a7d81 11/26: Update document, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 9b4627c 08/26: ; Fix TODO, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex d813213 12/26: Improve tool bar appearance, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 4a0bfe3 17/26: Clean up temporal markers, Tassilo Horn, 2021/08/12
- [elpa] externals/auctex 21a725b 14/26: Fix order of arguments, Tassilo Horn, 2021/08/12