[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ec48f765fb 13/23: Allow preview to work in non-f
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ec48f765fb 13/23: Allow preview to work in non-file buffers |
Date: |
Thu, 18 Apr 2024 05:43:24 -0400 (EDT) |
branch: externals/auctex
commit ec48f765fb511fe5ccc947496fb8863c8575a787
Author: Paul Nelson <ultrono@gmail.com>
Commit: Arash Esbati <arash@gnu.org>
Allow preview to work in non-file buffers
* tex.el (TeX-region-create): Only make file name relative to
master when file name is not "<none>". (bug#70307)
---
tex.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tex.el b/tex.el
index c905981d2b..c4e4104e77 100644
--- a/tex.el
+++ b/tex.el
@@ -9080,9 +9080,10 @@ original file."
(buffer-substring-no-properties
(point) (point-max))))))))))
;; file name should be relative to master
- (setq original (TeX-quote-filename (file-relative-name
- original (TeX-master-directory)))
- master-name (TeX-quote-filename master-name))
+ (unless (string= original "<none>") ; cf. `preview-region'
+ (setq original (TeX-quote-filename (file-relative-name
+ original (TeX-master-directory)))))
+ (setq master-name (TeX-quote-filename master-name))
;; If the first line begins with "%&", put that line separately on
;; the very first line of the region file so that the first line
- [elpa] externals/auctex updated (79c984e1a5 -> ecb6c62e85), Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 0fcc152333 03/23: Document the new customize option, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex c008bb60b2 02/23: Make auto reveal feature configurable in folding, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex dfa05bf69d 01/23: Track the latest version of fntguide.tex, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 5f40b686b4 14/23: Call custom folding functions with consistent point, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 03793072c1 05/23: * tex.el (TeX-command): Adjust macOS version and name., Tassilo Horn, 2024/04/18
- [elpa] externals/auctex ecb6c62e85 23/23: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 49c9feb133 10/23: Allow preprocessing of previews, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex ec48f765fb 13/23: Allow preview to work in non-file buffers,
Tassilo Horn <=
- [elpa] externals/auctex 0aa5010255 06/23: Update style/verbatim.el to package v1.5x, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 2fe75e6726 19/23: Make "locating previews..." message configurable, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex b4dde3e325 09/23: Fix `preview-region' on repeated math constructs, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 5343cf2ec3 07/23: Be aware of comments in docTeX-mode, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex ec4e27ec21 04/23: * doc/changes.texi: Add an entry for `TeX-fold-auto-reveal'., Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 5970fbf499 15/23: * .dir-locals.el: Catch up with Emacs' .dir-locals., Tassilo Horn, 2024/04/18
- [elpa] externals/auctex f61de0abe6 18/23: Add section folding commands, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex ed37457621 21/23: ; Fix commit e4def30851, Tassilo Horn, 2024/04/18
- [elpa] externals/auctex 07c2cf38a1 22/23: * NEWS.org: New file., Tassilo Horn, 2024/04/18
- [elpa] externals/auctex d9f8ff12b1 11/23: Support mcite compat macros provided by biblatex, Tassilo Horn, 2024/04/18