[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 3694373 05/67: Deal with space in path of MikTeX
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 3694373 05/67: Deal with space in path of MikTeX gs executable (Bug#32251) |
Date: |
Fri, 8 Feb 2019 11:40:28 -0500 (EST) |
branch: externals/auctex
commit 36943732d87a2a9bac9a144541b0936c7ba5883d
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Deal with space in path of MikTeX gs executable (Bug#32251)
* preview.el.in (preview-gs-command): Wrap gs with
`shell-quote-argument' in case it has space in its path.
---
preview.el.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/preview.el.in b/preview.el.in
index 5d777dd..dd32c69 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -343,7 +343,7 @@ LIST consists of TeX dimensions in sp (1/65536 TeX point)."
(let ((gs (executable-find "mgs")))
;; Check if mgs is functional for external non-MikTeX apps.
;; See
http://blog.miktex.org/post/2005/04/07/Starting-mgsexe-at-the-DOS-Prompt.aspx
- (when (and gs (= 0 (shell-command (concat gs " -q -dNODISPLAY -c
quit"))))
+ (when (and gs (= 0 (shell-command (concat (shell-quote-argument gs) "
-q -dNODISPLAY -c quit"))))
gs))
;; Windows ghostscript
(executable-find "GSWIN32C.EXE")
- [elpa] externals/auctex updated (eca4ffe -> f34ce5a), Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 2152678 04/67: Change regexp for clarity, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 1ea64ff 01/67: Extract caption for RefTeX's label context, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 0970844 02/67: Deal with partial ^^-quoting in preview-latex, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 3694373 05/67: Deal with space in path of MikTeX gs executable (Bug#32251),
Tassilo Horn <=
- [elpa] externals/auctex 10047fb 07/67: * style/fancyvrb.el (LaTeX-fancyvrb-key-val-options): Add vspace key., Tassilo Horn, 2019/02/08
- [elpa] externals/auctex c8a8d47 08/67: Don't block emacs during viewing document, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex f213b1b 10/67: Set `TeX-command-buffer' always (bug#33377), Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 06226ea 09/67: Adjust preview-latex in case sub file isn't in master directory, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex d8c6f94 06/67: Improve style/fancyvrb.el, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 7ede3be 03/67: Make style hooks associated with class options valid again, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex dad0c60 11/67: Surround both \langle and \rangle with math delimiter, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 8d0e9cd 13/67: style/enumitem.el ("enumitem"): Use `TeX-argument-prompt' for query., Tassilo Horn, 2019/02/08
- [elpa] externals/auctex da4cb3d 14/67: Improve behavior of `TeX-arg-beamer-overlay-spec', Tassilo Horn, 2019/02/08
- [elpa] externals/auctex fd53670 19/67: Clean up remnants of previous removal of compatibility codes, Tassilo Horn, 2019/02/08