[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 0ac0fa8ed3da67b02c7d8
From: |
Mosè Giordano |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 0ac0fa8ed3da67b02c7d8d5bf8ae6ac1a16cffd9 |
Date: |
Sat, 26 Sep 2015 21:42:43 +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 0ac0fa8ed3da67b02c7d8d5bf8ae6ac1a16cffd9 (commit)
from 3bb1cbebf8a40ee668742ecfa51497fadabe0855 (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 0ac0fa8ed3da67b02c7d8d5bf8ae6ac1a16cffd9
Author: Mosè Giordano <address@hidden>
Date: Sat Sep 26 23:41:02 2015 +0200
Avoid searching with kpathsea in duplicate directories.
* tex.el (TeX-search-files-kpathsea): Remove duplicates
directories.
diff --git a/ChangeLog b/ChangeLog
index f6cda86..aaa44d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-26 Mosè Giordano <address@hidden>
+
+ * tex.el (TeX-search-files-kpathsea): Remove duplicates
+ directories.
+
2015-09-26 Tassilo Horn <address@hidden>
* tex.el (TeX--prettify-symbols-compose-p): New function.
diff --git a/tex.el b/tex.el
index 912073d..c390d15 100644
--- a/tex.el
+++ b/tex.el
@@ -4248,10 +4248,11 @@ non-nil, remove file extension."
(if (string-match ";" dirs) ";" ":")))
(unless TeX-kpathsea-path-delimiter
(throw 'no-kpathsea nil))
- (setq dirs (delete "" (split-string
- dirs (concat "[\n\r"
- TeX-kpathsea-path-delimiter
- "]+"))))
+ (setq dirs (TeX-delete-duplicate-strings
+ (delete "" (split-string
+ dirs (concat "[\n\r"
+ TeX-kpathsea-path-delimiter
+ "]+")))))
(if (eq scope 'global)
(delete "." dirs))
(setq extensions (concat "\\." (regexp-opt extensions t) "\\'")
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
tex.el | 9 +++++----
2 files changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 0ac0fa8ed3da67b02c7d8d5bf8ae6ac1a16cffd9,
Mosè Giordano <=