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. 5a538cb4d8ab4842b15c8


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5a538cb4d8ab4842b15c800753204cbad404d932
Date: Mon, 18 Sep 2017 04:34:41 -0400 (EDT)

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 <address@hidden>
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



reply via email to

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