[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 842471c3f51bdb7878254
From: |
Ikumi Keita |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 842471c3f51bdb787825452753acdc68d0627a13 |
Date: |
Thu, 16 Nov 2017 13:54:27 -0500 (EST) |
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 842471c3f51bdb787825452753acdc68d0627a13 (commit)
from 5d6839e9b5cab6e555c80a482fd0cd945e16bf93 (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 842471c3f51bdb787825452753acdc68d0627a13
Author: Ikumi Keita <address@hidden>
Date: Fri Nov 17 03:52:53 2017 +0900
Give proper argument to `TeX-command-expand'
* preview.el.in (TeX-inline-preview-internal): Give `TeX-region-file'
or `TeX-master-file' as `file' argument of `TeX-command-expand' when
preamble caching is enabled. This argument used to be nil, which
caused error when lualatex is in use. The fourth element of the
`luatex' entry of `TeX-engine-alist-builtin' contains "%s", which
eventually triggers the use of the `file' argument.
diff --git a/preview.el.in b/preview.el.in
index 6685341..f0c1288 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -3554,7 +3554,10 @@ internal parameters, STR may be a log to insert into the
current log."
;; (TeX-engine-alist) are dropped, give them
;; back.
(list (list "\\`\\([^ ]+\\)"
- (TeX-command-expand "%(PDF)%(latex)"
nil)))))
+ (TeX-command-expand "%(PDF)%(latex)"
+ (if
TeX-current-process-region-p
+ #'TeX-region-file
+
#'TeX-master-file))))))
command) file))))
(condition-case err
(progn
-----------------------------------------------------------------------
Summary of changes:
preview.el.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 842471c3f51bdb787825452753acdc68d0627a13,
Ikumi Keita <=