From: Eli Zaretskii Date: Thu, 22 Jul 2021 09:14:50 +0000 (+0300) Subject: Avoid byte-compilation warning X-Git-Tag: emacs-28.0.90~1757 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8a1af6d3726ee57392dbea40ecca51c793224c4;p=emacs.git Avoid byte-compilation warning * test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks): Avoid byte-compiler warning. (Bug#49667) --- diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el index 20f85c6c93e..11f842e8fe0 100644 --- a/test/src/buffer-tests.el +++ b/test/src/buffer-tests.el @@ -1345,8 +1345,8 @@ with parameters from the *Messages* buffer modification." (add-hook 'kill-buffer-hook kbh nil t) (add-hook 'kill-buffer-query-functions kbqf nil t) (kill-buffer)) - (with-temp-buffer) - (with-output-to-string) + (with-temp-buffer (ignore)) + (with-output-to-string (ignore)) (should-not run-bluh) (should-not run-kbh) (should-not run-kbqf)