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. 6962c34a28dbf62622f46


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6962c34a28dbf62622f46fbeca77295223c3112c
Date: Tue, 23 Feb 2016 00:42:01 +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  6962c34a28dbf62622f46fbeca77295223c3112c (commit)
      from  17115360b88ca23a69f6361477891681efeec6bf (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 6962c34a28dbf62622f46fbeca77295223c3112c
Author: Mosè Giordano <address@hidden>
Date:   Tue Feb 23 01:40:28 2016 +0100

    Avoid checking duplicate directories in TeX-check-files
    
    * tex-buf.el (TeX-check-files): Delete duplicate directories in paths
      list before performing the check.

diff --git a/tex-buf.el b/tex-buf.el
index 52483dc..c2ba9f8 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -569,18 +569,19 @@ ORIGINALS which are modified but not saved yet."
         found
        (extensions (TeX-delete-duplicate-strings extensions))
         (buffers (buffer-list)))
-    (dolist (path (mapcar (lambda (dir)
-                           (expand-file-name (file-name-as-directory dir)))
-                         (append
-                          TeX-check-path
-                          ;; In `TeX-command-default', this function is used to
-                          ;; check whether bibliography databases are newer
-                          ;; than generated *.bbl files, but bibliography
-                          ;; database are relative to `TeX-master-directory'
-                          ;; and the test can be run also from included files
-                          ;; that are in directories different from
-                          ;; `TeX-master-directory'.
-                          (list (TeX-master-directory)))))
+    (dolist (path (TeX-delete-duplicate-strings
+                  (mapcar (lambda (dir)
+                            (expand-file-name (file-name-as-directory dir)))
+                          (append
+                           TeX-check-path
+                           ;; In `TeX-command-default', this function is used 
to
+                           ;; check whether bibliography databases are newer
+                           ;; than generated *.bbl files, but bibliography
+                           ;; database are relative to `TeX-master-directory'
+                           ;; and the test can be run also from included files
+                           ;; that are in directories different from
+                           ;; `TeX-master-directory'.
+                           (list (TeX-master-directory))))))
       (dolist (orig originals)
        (dolist (ext extensions)
          (let ((filepath (concat path orig "." ext)))

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

Summary of changes:
 tex-buf.el |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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