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. a9c37b7ecd2353093fbec


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. a9c37b7ecd2353093fbecc84561fcace1ac8be80
Date: Sun, 25 Oct 2020 11:07:51 -0400 (EDT)

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  a9c37b7ecd2353093fbecc84561fcace1ac8be80 (commit)
      from  072cfc761f0d918cc82370a14736b8f183d75057 (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 a9c37b7ecd2353093fbecc84561fcace1ac8be80
Author: Tassilo Horn <tsdh@gnu.org>
Date:   Sun Oct 25 16:07:28 2020 +0100

    ; Add new make target dynvars-check

diff --git a/.gitignore b/.gitignore
index 7b8ef9f..ec00156 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,3 +47,4 @@ preview-latex.el
 /preview.el
 PROBLEMS.preview
 tests/*/auto/*
+*.dynvars
\ No newline at end of file
diff --git a/Makefile.in b/Makefile.in
index 0dfca87..a25104d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -363,6 +363,13 @@ uninstall:
 %.elc: %.el
        $(ELCC) -f batch-byte-compile $<
 
+dynvars-check:
+       rm -f $(AUCELC) $(STYLEELC)
+       EMACS_GENERATE_DYNVARS=1 make some > /dev/null 2>&1
+       cat *.dynvars style/*.dynvars > auctex.dynvars
+       rm -f $(AUCELC) $(STYLEELC)
+       EMACS_DYNVARS_FILE=auctex.dynvars make some
+
 clean: doc/Makefile latex/Makefile
        rm -f $(CLEANFILES)
        cd doc && $(MAKE) clean
diff --git a/lpath.el b/lpath.el
index 2a4354c..5613683 100644
--- a/lpath.el
+++ b/lpath.el
@@ -5,6 +5,9 @@
 ;;; It is not a part of AUCTeX itself.
 
 ;; Make sure we get the right files.
-(setq load-path (cons "." load-path)
-      TeX-lisp-directory "<none>"
-      TeX-auto-global "<none>")
+
+(let ((auctex-dir (file-name-directory load-file-name)))
+  (add-to-list 'load-path auctex-dir)
+  (add-to-list 'load-path (expand-file-name "style" auctex-dir))
+  (setq TeX-lisp-directory "<none>"
+        TeX-auto-global "<none>"))

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

Summary of changes:
 .gitignore  | 1 +
 Makefile.in | 7 +++++++
 lpath.el    | 9 ++++++---
 3 files changed, 14 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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