[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b01f2f2 02/15: Add style path explicitly
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b01f2f2 02/15: Add style path explicitly |
Date: |
Wed, 6 Dec 2017 09:48:32 -0500 (EST) |
branch: externals/auctex
commit b01f2f27333f59269a55621bfcd0e7eef5d2f7e4
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Add style path explicitly
* tests/japanese/error-parsing.el ():
* tests/japanese/parse-timing.el ():
* tests/japanese/preview-latex.el (): Add "style" subdirectory in the
repository to `TeX-style-path' so we can load style files inside tests.
---
tests/japanese/error-parsing.el | 7 +++++++
tests/japanese/parse-timing.el | 7 +++++++
tests/japanese/preview-latex.el | 7 +++++++
3 files changed, 21 insertions(+)
diff --git a/tests/japanese/error-parsing.el b/tests/japanese/error-parsing.el
index c2f8f90..571e0a6 100644
--- a/tests/japanese/error-parsing.el
+++ b/tests/japanese/error-parsing.el
@@ -26,6 +26,13 @@
(setq japanese-TeX-error-messages t)
(require 'tex-jp)
+;; Add the "style/" directory to `TeX-style-path',
+;; so we can load style files inside tests.
+(add-to-list 'TeX-style-path
+ (expand-file-name "../../style"
+ (when load-file-name
+ (file-name-directory load-file-name))))
+
(ert-deftest japanese-TeX-help-message ()
"Test the fallback behavior of `TeX-help-error'.
It should pick up error messages from the log file even if
diff --git a/tests/japanese/parse-timing.el b/tests/japanese/parse-timing.el
index c9f5243..800428a 100644
--- a/tests/japanese/parse-timing.el
+++ b/tests/japanese/parse-timing.el
@@ -33,6 +33,13 @@
(require 'ert)
(require 'tex-jp)
+;; Add the "style/" directory to `TeX-style-path',
+;; so we can load style files inside tests.
+(add-to-list 'TeX-style-path
+ (expand-file-name "../../style"
+ (when load-file-name
+ (file-name-directory load-file-name))))
+
(defun AUCTeX-set-ert-path (&rest sym-val)
"Set first element of SYM-VAL to the next one, and so on.
diff --git a/tests/japanese/preview-latex.el b/tests/japanese/preview-latex.el
index 4fac047..5885456 100644
--- a/tests/japanese/preview-latex.el
+++ b/tests/japanese/preview-latex.el
@@ -26,6 +26,13 @@
(require 'tex-jp))
(require 'preview)
+;; Add the "style/" directory to `TeX-style-path',
+;; so we can load style files inside tests.
+(add-to-list 'TeX-style-path
+ (expand-file-name "../../style"
+ (when load-file-name
+ (file-name-directory load-file-name))))
+
(defun AUCTeX-set-ert-path (&rest sym-val)
"Set first element of SYM-VAL to the next one, and so on.
- [elpa] externals/auctex updated (5f007f1 -> 3ac4a91), Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 9fdfe2c 01/15: Re-implement auto-detect of path separator from kpsewhich output, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex b01f2f2 02/15: Add style path explicitly,
Tassilo Horn <=
- [elpa] externals/auctex 478c987 03/15: Revert wrong test, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex f0c4f4d 07/15: * style/longtable.el ("longtable"): Use `make-local-variable'., Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 8a12cae 06/15: * tex-ispell.el: Add entry for "xltabular" environment., Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 575078f 12/15: ; Release_11.92, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 0aa3275 08/15: Get rid of `delete-dups', Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 1ea45c8 11/15: ; make change-history-commit, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 464e1b4 05/15: Fix style/xltabular.el, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex acb5cf6 10/15: Prepare for upcoming release, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex e195604 04/15: Reduce code duplication in tests, Tassilo Horn, 2017/12/06
- [elpa] externals/auctex 3ac4a91 15/15: Release GNU AUCTeX 11.92.0, Tassilo Horn, 2017/12/06