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. 9e5e5f6a29071b44ebe60


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 9e5e5f6a29071b44ebe60adcb48f605b469f78fd
Date: Mon, 18 Sep 2017 04:46:19 -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  9e5e5f6a29071b44ebe60adcb48f605b469f78fd (commit)
      from  5a538cb4d8ab4842b15c800753204cbad404d932 (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 9e5e5f6a29071b44ebe60adcb48f605b469f78fd
Author: Ikumi Keita <address@hidden>
Date:   Mon Sep 18 17:44:58 2017 +0900

    ; * tex.el (TeX-doc-backend-alist): Use `TeX-search-files-by-type'.

diff --git a/tex.el b/tex.el
index 06c438d..89bcd87 100644
--- a/tex.el
+++ b/tex.el
@@ -6465,15 +6465,7 @@ the number of the file to view, anything else to skip: 
") list)))
   '((texdoc (plain-tex-mode latex-mode doctex-mode ams-tex-mode context-mode)
            (lambda ()
              (when (executable-find "texdoc")
-               (TeX-search-files
-                ;; Explicitely supply doc directory for
-                ;; non-kpathsea-based TeX systems.
-                (unless (stringp TeX-kpathsea-path-delimiter)
-                  (or (TeX-tree-expand
-                       '("$SYSTEXMF" "$TEXMFLOCAL" "$TEXMFMAIN" "$TEXMFDIST")
-                       "latex" '("/doc/"))
-                      `(,@TeX-macro-global ,@TeX-macro-private)))
-                '("dvi" "pdf" "ps" "txt" "html") t t)))
+               (TeX-search-files-by-type 'docs 'global t t)))
            (lambda (doc)
              ;; texdoc in MiKTeX requires --view in order to start
              ;; the viewer instead of an intermediate web page.

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

Summary of changes:
 tex.el | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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