From: Mattias EngdegÄrd Date: Fri, 23 Feb 2024 12:14:18 +0000 (+0100) Subject: Replace use of obsolete eshell-kill-output in test X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a1a628b440e2efb56c7260c787634ae6cdaf857;p=emacs.git Replace use of obsolete eshell-kill-output in test * test/lisp/eshell/eshell-tests.el (eshell-test/flush-output): Use eshell-delete-output instead of eshell-kill-output. (cherry picked from commit a8f167547bc15eacaf5fbc07c1e75f603e70862d) --- diff --git a/test/lisp/eshell/eshell-tests.el b/test/lisp/eshell/eshell-tests.el index e01e033e25e..e58b5a14ed9 100644 --- a/test/lisp/eshell/eshell-tests.el +++ b/test/lisp/eshell/eshell-tests.el @@ -153,7 +153,7 @@ insert the queued one at the next prompt, and finally run it." "Test flushing of previous output" (with-temp-eshell (eshell-insert-command "echo alpha") - (eshell-kill-output) + (eshell-delete-output) (should (eshell-match-output (concat "^" (regexp-quote "*** output flushed ***\n") "$")))))