]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid byte-compilation warning
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 Jul 2021 09:14:50 +0000 (12:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Jul 2021 09:14:50 +0000 (12:14 +0300)
* test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks):
Avoid byte-compiler warning.  (Bug#49667)

test/src/buffer-tests.el

index 20f85c6c93ef95b5d67becbee15834ea485f2fc3..11f842e8fe081cbdcd352f5493081b80e413c16a 100644 (file)
@@ -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)