auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. c4cb166fe1624545786a9


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. c4cb166fe1624545786a9f82f2385ba6a70d4384
Date: Wed, 21 Dec 2016 00:00:02 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  c4cb166fe1624545786a9f82f2385ba6a70d4384 (commit)
      from  db3fcb96aaa768a1b851a00d9254d7135c832251 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c4cb166fe1624545786a9f82f2385ba6a70d4384
Author: Mosè Giordano <address@hidden>
Date:   Wed Dec 21 00:58:31 2016 +0100

    Add style/ directory to TeX-style-path for tests
    
    * tests/latex/latex-test.el: Add our "style/" directory `TeX-style-path'
      to make it possible to load style files inside tests.

diff --git a/tests/latex/latex-test.el b/tests/latex/latex-test.el
index 28af7b5..e8d8900 100644
--- a/tests/latex/latex-test.el
+++ b/tests/latex/latex-test.el
@@ -24,6 +24,13 @@
 (require 'ert)
 (require 'latex)
 
+;; 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.
 

-----------------------------------------------------------------------

Summary of changes:
 tests/latex/latex-test.el |    7 +++++++
 1 file changed, 7 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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