[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ab04c45 35/57: Correct actions on region file in
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ab04c45 35/57: Correct actions on region file in included file not placed in master dir |
Date: |
Tue, 25 Jul 2017 14:02:33 -0400 (EDT) |
branch: externals/auctex
commit ab04c45dde3c1e591bd4e46ccd6a6211710355da
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Correct actions on region file in included file not placed in master dir
* tex-buf.el (TeX-command-region): Call `TeX-region-file' with nil
`nondirectory' argument.
Fix a typo in doc string.
(TeX-command-default): Use `(TeX-region-file)' instead of `TeX-region'
for comparison with the given argument.
---
tex-buf.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index fa92335..5fff109 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -177,11 +177,15 @@ temporary file before the region itself. The document's
header is all
text before `TeX-header-end'.
If the master file for the document has a trailer, it is written to
-the temporary file before the region itself. The document's trailer is
+the temporary file after the region itself. The document's trailer is
all text after `TeX-trailer-start'."
(interactive "P")
(TeX-region-update)
- (TeX-command (TeX-command-query (TeX-region-file nil t)) 'TeX-region-file
+ ;; In the next line, `TeX-region-file' should be called with nil
+ ;; `nondirectory' argument, otherwise `TeX-comand-default' called
+ ;; within `TeX-command-query' won't work in included files not
+ ;; placed in `TeX-master-directory'.
+ (TeX-command (TeX-command-query (TeX-region-file)) 'TeX-region-file
override-confirm))
(defun TeX-command-buffer (&optional override-confirm)
@@ -777,7 +781,7 @@ omitted) and `TeX-region-file'."
(cond (;; name might be absolute or relative, so expand it for
;; comparison.
(if (string-equal (expand-file-name name)
- (expand-file-name TeX-region))
+ (expand-file-name (TeX-region-file)))
(TeX-check-files (concat name "." (TeX-output-extension))
;; Each original will be checked for all dirs
;; in `TeX-check-path' so this needs to be just
- [elpa] externals/auctex e0d067f 53/57: Manually cherry-pick commit bc0db60e, (continued)
- [elpa] externals/auctex e0d067f 53/57: Manually cherry-pick commit bc0db60e, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 42aa58c 40/57: Add support for xreader viewer, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cd1075b 43/57: Add new style/canadian.el, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex fa24654 55/57: * font-latex.el: Use the standard utf-8 rather than latin-1, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 8e89a80 17/57: Add new style/floatrow.el, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 32f71f6 57/57: Release GNU AUCTeX 11.91.0, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 370a4b9 31/57: Resolve preview-latex incompatibility with Japanese TeX (Bug#25322), Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 8c172d5 51/57: ; make change-history-commit, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex fbbb17b 39/57: Update key=value options to graphicx package version 1.1a, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 97dca3f 52/57: ; Release_11.91, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex ab04c45 35/57: Correct actions on region file in included file not placed in master dir,
Tassilo Horn <=
- [elpa] externals/auctex 64cf0e9 41/57: * latex.el (LaTeX-babel-hyphen-language-alist): Fix typo in docstring., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 829f306 46/57: * doc/auctex.texi (European): Add babel languages which load english.el., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cf92c47 47/57: * doc/changes.texi: Mention changes related to Japanese TeX., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 06c8074 25/57: * tests/latex/fontification-general.tex: New file., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 2b46b60 49/57: Update key=val options to minted package v2.5, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 4f397a2 34/57: Imporve fix for Bug#26694, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex c8c8677 54/57: Fix unescaped character literals, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 41f229d 48/57: Conform to elisp coding conventions., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex dd0dc19 42/57: Add new style/moodle.el, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 17118fb 50/57: Prepare for upcoming release, Tassilo Horn, 2017/07/25