From: Michael Albinus Date: Fri, 24 Sep 2021 16:09:49 +0000 (+0200) Subject: Fix auto-revert-test05-global-notify X-Git-Tag: emacs-28.0.90~683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8fbf816ccd0fe223568d6c31c4571ca45dffaa8d;p=emacs.git Fix auto-revert-test05-global-notify * test/lisp/autorevert-tests.el (auto-revert-test05-global-notify): Adapt test for killed buffer. --- 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)))