[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 8e7d19fe84 44/60: Make tex-buf.el compile withou
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 8e7d19fe84 44/60: Make tex-buf.el compile without (require 'latex) |
Date: |
Fri, 8 Apr 2022 11:52:53 -0400 (EDT) |
branch: externals/auctex
commit 8e7d19fe848f24879cb770e86679ac690e073956
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Make tex-buf.el compile without (require 'latex)
* tex-buf.el (): Delete (require 'latex) and add defvar's &
declare-function.
(TeX-command-default): Add `bound-and-true-p' guard for
`LaTeX-using-Biber'.
* tests/tex/command-expansion.el: Supply (require 'latex) which is now
needed.
---
tests/tex/command-expansion.el | 1 +
tex-buf.el | 10 ++++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/tests/tex/command-expansion.el b/tests/tex/command-expansion.el
index 5407867175..373ee3d66c 100644
--- a/tests/tex/command-expansion.el
+++ b/tests/tex/command-expansion.el
@@ -23,6 +23,7 @@
(require 'ert)
(require 'tex-buf)
+(require 'latex)
(ert-deftest TeX-command-expansion ()
"Check whether \"%%%%\" is correctly expanded when before \"%`\"."
diff --git a/tex-buf.el b/tex-buf.el
index a3892d3f0a..c7fbb09f81 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -29,9 +29,14 @@
;;; Code:
(require 'tex)
-(require 'latex)
(require 'comint)
+(defvar LaTeX-largest-level)
+(defvar LaTeX-section-list)
+(defvar compilation-error-regexp-alist)
+
+(declare-function LaTeX-bibliography-list "latex")
+
;;; Customization:
(defcustom TeX-process-asynchronous (not (eq system-type 'ms-dos))
@@ -842,7 +847,8 @@ omitted) and `TeX-region-file'."
(append BibTeX-file-extensions
TeX-Biber-file-extensions)))
;; We should check for bst files here as well.
- (if LaTeX-using-Biber TeX-command-Biber TeX-command-BibTeX))
+ (if (bound-and-true-p LaTeX-using-Biber)
+ TeX-command-Biber TeX-command-BibTeX))
((and
;; Rationale: makeindex should be run when final document is almost
;; complete (see
- [elpa] externals/auctex a078fda16b 06/60: ; * doc/auctex.texi (Starting a Command): Delete obosolete comment., (continued)
- [elpa] externals/auctex a078fda16b 06/60: ; * doc/auctex.texi (Starting a Command): Delete obosolete comment., Tassilo Horn, 2022/04/08
- [elpa] externals/auctex f686fbca6d 16/60: Add new test, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 4e4c48556b 08/60: ; Trivial cleanup, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 1bc2630275 20/60: Don't change syntax of ^^A comments in doctex mode (bug#35140), Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 36655f6a5e 24/60: Revert "Fix simultaneity", Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 3df1e313ea 25/60: Adapt TeX-region-hook for lexical-binding, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex fa8842c626 26/60: Recognize macrocode*? environments in doctex-mode, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 806100f29a 27/60: Delete obsoleted variables (bug#54339), Tassilo Horn, 2022/04/08
- [elpa] externals/auctex b1a0d5df74 36/60: ; * style/algpseudocode.el: Fix position of TeX-dialect., Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 494d501e63 43/60: Adjust indenting of conditionals in styles, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 8e7d19fe84 44/60: Make tex-buf.el compile without (require 'latex),
Tassilo Horn <=
- [elpa] externals/auctex 4b1c7015ae 45/60: Move contents of tex-buf.el into tex.el, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 7e6d83ff4e 47/60: Add news, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 45aff50ff3 48/60: Support \mathcolor in style/x?color.el, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 180cc28dfa 50/60: Apply remaining portion of Stefan's patch, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex e1c3e37e0c 56/60: ; Update copyright year, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex e83ca6a072 57/60: Update style/doc.el to package version 3.0h, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 5cf46ff8e2 52/60: Improve parsing of re-definitions, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex fd118c67d4 58/60: ; * style/doc.el (LaTeX-env-doc-no-comment): Fix docstring., Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 323eb08ca6 46/60: Assign reasonable sentinel in AmS-TeX mode, Tassilo Horn, 2022/04/08
- [elpa] externals/auctex 5d2829aed4 49/60: Remove old defadvices (patch by Stefan Monnier), Tassilo Horn, 2022/04/08