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 <m...@gnu.org> 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 <m...@gnu.org> + + * tex.el (TeX-search-files-kpathsea): Remove duplicates + directories. + 2015-09-26 Tassilo Horn <t...@gnu.org> * 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
_______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs