auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex c64a0e1 27/48: Quote %b expansion


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex c64a0e1 27/48: Quote %b expansion string for Zathura
Date: Sun, 16 Sep 2018 01:47:24 -0400 (EDT)

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

    Quote %b expansion string for Zathura
    
    * tex.el (TeX-view-program-list-builtin): Guard %b expansion
    string for Zathura with quotes for file names with spaces
    (bug#31451).
---
 tex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex.el b/tex.el
index cb6496d..f7955f3 100644
--- a/tex.el
+++ b/tex.el
@@ -1399,7 +1399,7 @@ viewer."
       ("Zathura"
        ("zathura %o"
        (mode-io-correlate
-        " --synctex-forward %n:0:%b -x \"emacsclient +%{line} %{input}\""))
+        " --synctex-forward %n:0:\"%b\" -x \"emacsclient +%{line} %{input}\""))
        "zathura"))))
   "Alist of built-in viewer specifications.
 This variable should not be changed by the user who can use



reply via email to

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