emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 056d8c8 50/69: Fix TeX-check-files


From: Tassilo Horn
Subject: [elpa] externals/auctex 056d8c8 50/69: Fix TeX-check-files
Date: Sat, 26 Mar 2016 21:36:36 +0000

branch: externals/auctex
commit 056d8c84edcdf20a3b365516f4d5c2dc4a554fda
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Fix TeX-check-files
    
    * tex-buf.el (TeX-check-files): Run the test in `TeX-master-directory'
      as well.
---
 tex-buf.el |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/tex-buf.el b/tex-buf.el
index 3ba1f87..f55d6f4 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -571,7 +571,16 @@ ORIGINALS which are modified but not saved yet."
         (buffers (buffer-list)))
     (dolist (path (mapcar (lambda (dir)
                            (expand-file-name (file-name-as-directory dir)))
-                         TeX-check-path))
+                         (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)))



reply via email to

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