Avoid byte-compilation warning

* test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks):
Avoid byte-compiler warning.  (Bug#49667)
This commit is contained in:
Eli Zaretskii 2021-07-22 12:14:50 +03:00
parent 3edc4fb5d8
commit c8a1af6d37

View 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)