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. 59f94402ecdcb8a02a3a0


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 59f94402ecdcb8a02a3a0d9ab62bb2de01057f3f
Date: Tue, 10 Mar 2015 11:49:50 +0000

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  59f94402ecdcb8a02a3a0d9ab62bb2de01057f3f (commit)
      from  a2a4777fbc2cec4c5ef7da74e17bf75b1dae4840 (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 59f94402ecdcb8a02a3a0d9ab62bb2de01057f3f
Author: Tassilo Horn <address@hidden>
Date:   Tue Mar 10 12:49:17 2015 +0100

    Fix void-function error occuring if cl is not loaded
    
    * tex.el (TeX-style-path): Replace `pushnew' with equivalent code
    since defcustom init-forms don't seem to get compiled.

diff --git a/ChangeLog b/ChangeLog
index 704ad0c..a53574a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-03-10  Tassilo Horn  <address@hidden>
 
+       * tex.el (TeX-style-path): Replace `pushnew' with equivalent code
+       since defcustom init-forms don't seem to get compiled.
+
        * doc/auctex.texi (Modes and Hooks): Document
        TeX-after-TeX-LaTeX-command-finished-hook.
 
diff --git a/tex.el b/tex.el
index 609a1e4..88e2336 100644
--- a/tex.el
+++ b/tex.el
@@ -2440,7 +2440,9 @@ These correspond to the personal TeX macros."
   (let ((path))
     ;; Put directories in an order where the more local files can
     ;; override the more global ones.
-    (mapc (lambda (file) (when file (pushnew file path)))
+    (mapc (lambda (file)
+           (when (and file (not (member file path)))
+             (setq path (cons file path))))
           (append (list TeX-auto-global TeX-style-global)
                   TeX-auto-private TeX-style-private
                   (list TeX-auto-local TeX-style-local)))

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

Summary of changes:
 ChangeLog |    3 +++
 tex.el    |    4 +++-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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