1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

Merge from origin/emacs-27

8a92030f6a (origin/emacs-27) Fix hang in autorevert-tests.el

# Conflicts:
#	test/lisp/autorevert-tests.el
This commit is contained in:
Glenn Morris 2021-03-29 08:31:15 -07:00
commit 309635af69

View File

@ -133,7 +133,9 @@ This expects `auto-revert--messages' to be bound by
(format-message
"Reverting buffer `%s'\\." (buffer-name buffer))
(or auto-revert--messages ""))))
(if (with-current-buffer buffer auto-revert-use-notify)
(if (and (or file-notify--library
(file-remote-p temporary-file-directory))
(with-current-buffer buffer auto-revert-use-notify))
(read-event nil nil 0.05)
(sleep-for 0.05)))))