[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 81ce0ee78586693f37e6c
From: |
Ikumi Keita |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b |
Date: |
Tue, 25 May 2021 13:53:58 -0400 (EDT) |
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 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b (commit)
from a8e1a5d9b61d9f25b2bcade738f39e1fdef38f18 (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 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date: Wed May 26 02:45:13 2021 +0900
Add -dDELAYBIND only when necessary
* preview.el.in (preview-pdf2dsc-sentinel): Add gs option -dDELAYBIND
only when preview-latex tries to tweak foreground color. According to
gs developer[1], -dDELAYBIND option must be accompanied by ".bindnow"
in gs init string.
[1] https://lists.gnu.org/r/auctex-devel/2021-05/msg00030.html
diff --git a/preview.el.in b/preview.el.in
index d848431..197c459 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -999,7 +999,8 @@ The usual PROCESS and COMMAND arguments for
(setq TeX-sentinel-function nil)
;; Add DELAYBIND option for adjustment of foreground
;; color to work.
- (if (eq preview-pdf-color-adjust-method t)
+ (if (and (eq preview-pdf-color-adjust-method t)
+ (aref preview-colors 1))
(setq preview-gs-command-line (append
preview-gs-command-line
'("-dDELAYBIND"))))
-----------------------------------------------------------------------
Summary of changes:
preview.el.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b,
Ikumi Keita <=