[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 842471c 37/42: Give proper argument to `TeX-comm
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 842471c 37/42: Give proper argument to `TeX-command-expand' |
Date: |
Thu, 23 Nov 2017 06:06:14 -0500 (EST) |
branch: externals/auctex
commit 842471c3f51bdb787825452753acdc68d0627a13
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
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.
---
preview.el.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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
- [elpa] externals/auctex fe06211 24/42: Fix doc strings and comments, (continued)
- [elpa] externals/auctex fe06211 24/42: Fix doc strings and comments, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 9e1aa85 22/42: Make preview-latex parsing robust to fix Bug#20773, Bug#27088, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 5d8ac95 25/42: Cosmetic Change, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 837d590 27/42: Remove use of .runandhide operator, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex f362325 28/42: ; * latex.el (LaTeX-document-style-hook): Fix a typo., Tassilo Horn, 2017/11/23
- [elpa] externals/auctex ea7ff48 29/42: * tex.el (TeX-math-input-method-off-regexp): Turn defvar into defcustom., Tassilo Horn, 2017/11/23
- [elpa] externals/auctex b2571b6 40/42: Don't set company-minimum-prefix-length in tex mode buffers, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 0d8e6c6 34/42: Document `TeX-math-input-method-off-regexp' properly., Tassilo Horn, 2017/11/23
- [elpa] externals/auctex f0145f4 30/42: Add new function `LaTeX-env-longtable', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 213b705 33/42: Mention the necessity of GNU make, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 842471c 37/42: Give proper argument to `TeX-command-expand',
Tassilo Horn <=
- [elpa] externals/auctex b69d894 39/42: * doc/changes.texi: Mention compatibility of preview with GS 9.22., Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 5d6839e 36/42: Add test for the recent change about `TeX-kpathsea-path-delimiter', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 5f007f1 42/42: Regenerate tex-site.el and docs, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex b20eea0 26/42: Fix Copyright year, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 463ead7 35/42: Document `TeX-view-evince-keep-focus', Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 420ec0e 32/42: Bug fix and code refactoring related to kpathsea, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex ee4cc54 31/42: Add new style/xltabular.el, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex c03ca2c 38/42: Improve style/epigraph.el, Tassilo Horn, 2017/11/23
- [elpa] externals/auctex 800064f 41/42: Merge branch 'master' into externals/auctex, Tassilo Horn, 2017/11/23