emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 15d3d97 08/48: Quote %b expansion string for Sum


From: Tassilo Horn
Subject: [elpa] externals/auctex 15d3d97 08/48: Quote %b expansion string for SumatraPDF
Date: Sun, 16 Sep 2018 01:47:20 -0400 (EDT)

branch: externals/auctex
commit 15d3d976d1803d465f1e2541c427a3d2ecd83fe4
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    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
    (bug#30999).
---
 tex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
        ("SumatraPDF -reuse-instance"
-       (mode-io-correlate " -forward-search %b %n") " %o")
+       (mode-io-correlate " -forward-search \"%b\" %n") " %o")
        "SumatraPDF")
       ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
       ("start" "start \"\" %o")))



reply via email to

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