branch: externals/auctex
commit 056d8c84edcdf20a3b365516f4d5c2dc4a554fda
Author: Mosè Giordano <[email protected]>
Commit: Mosè Giordano <[email protected]>
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)))
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel