[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 2d40f7d: Fix soffice UserInstallation-URL for Win
From: |
Tassilo Horn |
Subject: |
[Emacs-diffs] emacs-25 2d40f7d: Fix soffice UserInstallation-URL for Windows |
Date: |
Tue, 16 Feb 2016 16:39:55 +0000 |
branch: emacs-25
commit 2d40f7d6354fbd9b55fa5a987b7673dea5664254
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Fix soffice UserInstallation-URL for Windows
* lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
UserInstallation-URL when calling soffice on Windows.
---
lisp/doc-view.el | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index af7f199..9d912c3 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -987,6 +987,11 @@ is named like ODF with the extension turned to pdf."
(doc-view-start-process "odf->pdf" doc-view-odf->pdf-converter-program
(list
(concat "-env:UserInstallation=file://"
+ ;; The URL must be
+ ;; file:///C:/tmp/dir on Windows.
+ ;;
https://wiki.documentfoundation.org/UserProfile.
+ (when (eq system-type 'windows-nt)
+ "/")
tmp-user-install-dir)
"--headless" "--convert-to" "pdf"
"--outdir" (doc-view--current-cache-dir) odf)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 2d40f7d: Fix soffice UserInstallation-URL for Windows,
Tassilo Horn <=