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  5a538cb4d8ab4842b15c800753204cbad404d932 (commit)
      from  6dcf0e1083791902563afaac9add4211bd91514a (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 5a538cb4d8ab4842b15c800753204cbad404d932
Author: Ikumi Keita <[email protected]>
Date:   Mon Sep 18 17:32:48 2017 +0900

    Prevent possible truncation of list value
    
    * tex.el (TeX-search-files-by-type): Use
    `TeX-delete-duplicate-strings' instead of `delete-dups'.

diff --git a/tex.el b/tex.el
index d1b7791..06c438d 100644
--- a/tex.el
+++ b/tex.el
@@ -4715,7 +4715,12 @@ If optional argument STRIP is non-nil, remove file 
extension."
                (error "No TeX trees available; configure `TeX-tree-roots'")
              ;; Expand variables.
               (setq expdirs
-                    (delete-dups
+                   ;; Don't use `delete-dups' instead of
+                   ;; `TeX-delete-duplicate-strings' here.
+                   ;; Otherwise, when the last element of `rawdirs'
+                   ;; is a variable, its value might be truncated as
+                   ;; side effect.
+                    (TeX-delete-duplicate-strings
                      (apply #'append
                             (mapcar (lambda (rawdir)
                                       (if (symbolp rawdir)

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

Summary of changes:
 tex.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to