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 1ad2d9e335e92c430895224c523a0ab72a99213b (commit) from 0e616b8d5815f1ba6d867b0ec6f0f2e6d7c2d580 (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 1ad2d9e335e92c430895224c523a0ab72a99213b Author: Ikumi Keita <ik...@ikumi.que.jp> Date: Sat Feb 27 17:36:15 2021 +0900 Fix preview-cache-preamble after region typeset/preview * preview.el.in (preview-cache-preamble): Move `setq' for `TeX-current-process-region-p' before `let*' so that `TeX-command-expand' in `let*' should work correctly. diff --git a/preview.el.in b/preview.el.in index e22d241..ba10ee8 100644 --- a/preview.el.in +++ b/preview.el.in @@ -3947,6 +3947,7 @@ format available. If FORMAT-CONS is non-nil, a previous format may get reused." (interactive) + (setq TeX-current-process-region-p nil) (let* ((dump-file (expand-file-name (preview-dump-file-name (TeX-master-file "ini")))) (master (TeX-master-file)) @@ -3978,7 +3979,6 @@ If FORMAT-CONS is non-nil, a previous format may get reused." \\def\\AUCTEXINPUT##1{\\catcode`/ 12\\relax\\catcode`\\ 9\\relax\\input\\detokenize{##1}\\relax}% \\let\\dump\\PREVIEWdump\\dump}\\input mylatex.ltx \\relax%\n" nil dump-file) (TeX-save-document master) - (setq TeX-current-process-region-p nil) (prog1 (preview-generate-preview master command) (add-hook 'kill-emacs-hook #'preview-cleanout-tempfiles t) (setq TeX-sentinel-function ----------------------------------------------------------------------- Summary of changes: preview.el.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- GNU AUCTeX _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs