emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa a8a803c 02/23: Call TeX-after-compilation-finished-functions


From: Tassilo Horn
Subject: [elpa] elpa a8a803c 02/23: Call TeX-after-compilation-finished-functions on warnings
Date: Wed, 30 Mar 2016 19:08:02 +0000

branch: elpa
commit a8a803ce2f3fdd043fad69ce6c0c34f22f75dad9
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Call TeX-after-compilation-finished-functions on warnings
    
    * tex-buf.el (TeX-LaTeX-sentinel): Skip calling
    TeX-after-compilation-finished-functions only if there are real errors.
---
 tex-buf.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tex-buf.el b/tex-buf.el
index dca6614..b271a98 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1551,7 +1551,7 @@ Rerun to get mark in right position\\." nil t)
                 (md5 (current-buffer)))))
         (push (cons idx-file t) LaTeX-idx-changed-alist)))
 
-  (unless TeX-error-list
+  (unless (memq 'error (mapcar #'car TeX-error-list))
     (run-hook-with-args 'TeX-after-compilation-finished-functions
                        (with-current-buffer TeX-command-buffer
                          (expand-file-name



reply via email to

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