From c8a1af6d3726ee57392dbea40ecca51c793224c4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 22 Jul 2021 12:14:50 +0300 Subject: [PATCH] Avoid byte-compilation warning * test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks): Avoid byte-compiler warning. (Bug#49667) --- test/src/buffer-tests.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2