branch: externals/auctex-cont-latexmk
commit d99ee12fe250230332be580739ca25a8a9df70ef
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>
Allow updates when process buffer is empty
* tex-continuous.el (tex-continuous--fresh-p):
---
tex-continuous.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tex-continuous.el b/tex-continuous.el
index 7bdb0ee6e8..6f1bfa2879 100644
--- a/tex-continuous.el
+++ b/tex-continuous.el
@@ -210,10 +210,11 @@ either in a watching state or has not updated recently."
(forward-line -1)
(equal (buffer-substring (point) (line-end-position))
tex-continuous--watching-str))
- (and tex-continuous--last-update-time
- (time-less-p (time-subtract (current-time)
- tex-continuous--last-update-time)
- (seconds-to-time tex-continuous--wait-time))))))
+ (and (or
+ tex-continuous--last-update-time
+ (time-less-p (time-subtract (current-time)
+ tex-continuous--last-update-time)
+ (seconds-to-time tex-continuous--wait-time)))))))
(not (buffer-modified-p))
(file-exists-p file)
(file-exists-p log-file)