We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450b6a4 commit e3157b5Copy full SHA for e3157b5
1 file changed
test/diff-hl-test.el
@@ -140,10 +140,11 @@
140
(diff-hl-mode 1)
141
(diff-hl-update)
142
143
- ;; wait for all thread to complete.
144
- (dolist (thread (all-threads))
145
- (unless (eq thread main-thread)
146
- (thread-join thread)))
+ (while (or (process-live-p
+ (get-buffer-process " *diff-hl* "))
+ (process-live-p
+ (get-buffer-process " *diff-hl-reference* ")))
147
+ (accept-process-output nil 0.05))
148
149
(diff-hl-previous-hunk)
150
(should (looking-at "added"))
0 commit comments