; * test/lisp/proced-tests.el (proced--within-buffer): Instrument macro.

Do not merge with master
This commit is contained in:
Michael Albinus 2024-10-23 17:01:08 +02:00
parent f5451b6a06
commit 75584a3a96

View file

@ -28,11 +28,13 @@
`(let ((proced-format ,format)
(proced-filter ,filter)
(proced-auto-update-flag nil)
(inhibit-message t))
(inhibit-message (not (getenv "EMACS_EMBA_CI"))))
(proced)
(unwind-protect
(with-current-buffer "*Proced*"
,@body)
(with-current-buffer "*Proced*"
(message "%s" (buffer-string)))
(kill-buffer "*Proced*"))))
(defun proced--assert-emacs-pid-in-buffer ()