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

View File

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