[Top][All Lists]

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. d8f06a75a9cd8030b826e

From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. d8f06a75a9cd8030b826eb5d4981dc7dd63143be
Date: Tue, 24 Jun 2014 19:30:41 +0000

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  d8f06a75a9cd8030b826eb5d4981dc7dd63143be (commit)
      from  bc9e5d622852c09d9f8d20a54db601c48cd99c4c (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 d8f06a75a9cd8030b826eb5d4981dc7dd63143be
Author: Tassilo Horn <address@hidden>
Date:   Tue Jun 24 21:28:38 2014 +0200

    Better check for mgs.
    * preview.el (preview-gs-command): Don't run the mgs command if
    mgs is not installed.

diff --git a/preview/ChangeLog b/preview/ChangeLog
index e443453..5ad7682 100644
--- a/preview/ChangeLog
+++ b/preview/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-24  Tassilo Horn  <address@hidden>
+       * preview.el (preview-gs-command): Don't run the mgs command if
+       mgs is not installed.
 2013-09-05  Tassilo Horn  <address@hidden>
        * preview.el (preview-lispdir): New defvar.
diff --git a/preview/preview.el b/preview/preview.el
index 7b5aef6..72f624d 100644
--- a/preview/preview.el
+++ b/preview/preview.el
@@ -351,7 +351,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
-       (when (= 0 (shell-command (concat gs " -q -dNODISPLAY -c quit")))
+       (when (and gs (= 0 (shell-command (concat gs " -q -dNODISPLAY -c 
       ;; Windows ghostscript
       (executable-find "GSWIN32C.EXE")


Summary of changes:
 preview/ChangeLog  |    5 +++++
 preview/preview.el |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


reply via email to

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