]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix auto-revert-test05-global-notify
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 24 Sep 2021 16:09:49 +0000 (18:09 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 24 Sep 2021 16:09:49 +0000 (18:09 +0200)
* test/lisp/autorevert-tests.el (auto-revert-test05-global-notify):
Adapt test for killed buffer.

test/lisp/autorevert-tests.el

index a235d60dc7baf5fe102bdfde10871b89ac2649a8..4a67dae10e6c5239d7be7b9378fb2cd5e8a38bae 100644 (file)
@@ -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)))