auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 84d31ca5e0b7f0ae767f3


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 84d31ca5e0b7f0ae767f309f165e342d55bbce5a
Date: Sun, 18 Sep 2016 15:48:33 +0000 (UTC)

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  84d31ca5e0b7f0ae767f309f165e342d55bbce5a (commit)
      from  75d672cfd20f47e2fd8271551b5e299f204b56c5 (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 84d31ca5e0b7f0ae767f309f165e342d55bbce5a
Author: Mosè Giordano <address@hidden>
Date:   Sun Sep 18 17:44:25 2016 +0200

    Fix default command after running BibTeX with warnings
    
    * tex-buf.el (TeX-BibTeX-sentinel): Always set `TeX-command-next' to
      `TeX-command-default'.  As it was before, if BibTeX issued
      warnings (or errors) the default next command would have been "View",
      which is in no case what the user would expect.  This is the same
      logic used in Biber sentinel (which has, in addition, a fatal error
      after which Biber is run again).

diff --git a/tex-buf.el b/tex-buf.el
index cf2ec78..94e3ece 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1649,8 +1649,9 @@ Rerun to get mark in right position\\." nil t)
              "\\<TeX-mode-map>\\[TeX-recenter-output-buffer]")))
    (t
     (message (concat "BibTeX finished successfully. "
-                    "Run LaTeX again to get citations right."))
-  (setq TeX-command-next TeX-command-default))))
+                    "Run LaTeX again to get citations right.")))
+   ;; In any case, run the default next command.
+   (setq TeX-command-next TeX-command-default)))
 
 (defun TeX-Biber-sentinel (_process _name)
   "Cleanup TeX output buffer after running Biber."

-----------------------------------------------------------------------

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


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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