[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. f213b1b8214dc4b6fce98

From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. f213b1b8214dc4b6fce985e5c4bd99426f7d55ae
Date: Thu, 15 Nov 2018 00:57:09 -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  f213b1b8214dc4b6fce985e5c4bd99426f7d55ae (commit)
      from  06226ea5e95de16250c18ec3fd033f96237fa642 (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 f213b1b8214dc4b6fce985e5c4bd99426f7d55ae
Author: Ikumi Keita <address@hidden>
Date:   Thu Nov 15 14:52:20 2018 +0900

    Set `TeX-command-buffer' always (bug#33377)
    * tex-buf.el (TeX-command): Make sure to set `TeX-command-buffer'

diff --git a/tex-buf.el b/tex-buf.el
index cc35938..61921c8 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -480,6 +480,11 @@ Run function `TeX-check-engine' to check the correct 
engine has
 been set."
   (TeX-check-engine name)
+  ;; Make sure that `TeX-command-buffer' is set always.
+  ;; It isn't safe to remove similar lines in `TeX-run-command' etc.
+  ;; because preview-latex calls `TeX-run-command' directly.
+  (setq-default TeX-command-buffer (current-buffer))
   (cond ((eq file #'TeX-region-file)
         (setq TeX-current-process-region-p t))
        ((eq file #'TeX-master-file)


Summary of changes:
 tex-buf.el | 5 +++++
 1 file changed, 5 insertions(+)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]