emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 56db1e8 1/3: Guard against flymake-no-changes-timeo


From: Dmitry Gutov
Subject: [Emacs-diffs] master 56db1e8 1/3: Guard against flymake-no-changes-timeout being nil
Date: Tue, 30 Jul 2019 10:00:09 -0400 (EDT)

branch: master
commit 56db1e84a09b887539adf2b24479d58ddaad5843
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Guard against flymake-no-changes-timeout being nil
    
    * test/lisp/progmodes/flymake-tests.el
    (flymake-tests--wait-for-backends): Guard against
    flymake-no-changes-timeout being nil (in personal configurations)
    to help when running tests interactively.
---
 test/lisp/progmodes/flymake-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/progmodes/flymake-tests.el 
b/test/lisp/progmodes/flymake-tests.el
index af97290..224c57e 100644
--- a/test/lisp/progmodes/flymake-tests.el
+++ b/test/lisp/progmodes/flymake-tests.el
@@ -52,7 +52,7 @@
                                             (flymake-reporting-backends))
            while notdone
            unless noninteractive do (read-event "" nil 0.1)
-           do (sleep-for (+ 0.5 flymake-no-changes-timeout))
+           do (sleep-for (+ 0.5 (or flymake-no-changes-timeout 0)))
            finally (when notdone (ert-skip
                                   (format "Some backends not reporting yet %s"
                                           notdone)))))



reply via email to

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