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  15d3d976d1803d465f1e2541c427a3d2ecd83fe4 (commit)
      from  7371b4617346d6f77fed2e916acd5b794743a733 (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 15d3d976d1803d465f1e2541c427a3d2ecd83fe4
Author: Arash Esbati <>
Date:   Sat Apr 7 13:34:58 2018 +0200

    Quote %b expansion string for SumatraPDF
    * tex.el (TeX-view-program-list-builtin): Guard %b expansion
    string for SumatraPDF with quotes for file names with spaces

diff --git a/tex.el b/tex.el
index 42759c5..8ec9e64 100644
--- a/tex.el
+++ b/tex.el
@@ -1365,7 +1365,7 @@ viewer."
                 "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout")
        ("SumatraPDF -reuse-instance"
-       (mode-io-correlate " -forward-search %b %n") " %o")
+       (mode-io-correlate " -forward-search \"%b\" %n") " %o")
       ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
       ("start" "start \"\" %o")))


Summary of changes:
 tex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


auctex-diffs mailing list

Reply via email to