From 8fbf816ccd0fe223568d6c31c4571ca45dffaa8d Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 24 Sep 2021 18:09:49 +0200 Subject: [PATCH] Fix auto-revert-test05-global-notify * test/lisp/autorevert-tests.el (auto-revert-test05-global-notify): Adapt test for killed buffer. --- test/lisp/autorevert-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/autorevert-tests.el b/test/lisp/autorevert-tests.el index a235d60dc7b..4a67dae10e6 100644 --- a/test/lisp/autorevert-tests.el +++ b/test/lisp/autorevert-tests.el @@ -529,7 +529,7 @@ This expects `auto-revert--messages' to be bound by buf-1 "1-b" (auto-revert--timeout)) ;; On emba, `buf-1' is a killed buffer. (message "Hallo1") - (when (buffer-live-p buf-1) + (when (buffer-name buf-1) (should (buffer-local-value 'auto-revert-notify-watch-descriptor buf-1))) -- 2.39.2