Add debug declaration to pw-ui--osd macro

This commit is contained in:
Milan Zamazal 2022-06-28 21:34:58 +02:00
parent 9425f7f359
commit 7695f21b18
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ The indicator is displayed only on graphical terminals."
pw-ui--osd-buffer nil)))))
(defmacro pw-ui--osd (&rest body)
(declare (indent defun))
(declare (debug (body))
(indent defun))
(let (($string (gensym)))
`(when (and window-system pipewire-osd-enable)
(if-let ((,$string (progn ,@body)))