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)