1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

; More instrumentation in autorevert-tests.el

This commit is contained in:
Michael Albinus 2021-09-25 12:20:46 +02:00
parent c2b8058c07
commit ea3656191d

View File

@ -528,10 +528,10 @@ This expects `auto-revert--messages' to be bound by
(auto-revert-test--wait-for-buffer-text
buf-1 "1-b" (auto-revert--timeout))
;; On emba, `buf-1' is a killed buffer.
(message "Hallo1")
(when (buffer-name buf-1)
(should (buffer-local-value
'auto-revert-notify-watch-descriptor buf-1)))
(message "Hallo1 %s %s %s" file-1 buf-1 (get-file-buffer file-1))
(should
(buffer-local-value
'auto-revert-notify-watch-descriptor (get-file-buffer file-1)))
;; Write a buffer to a new file, then modify the new file on disk.
(with-current-buffer buf-2