Subject: bug#76858: [PATCH] window-tool-bar: Use `static-if' from Compat 30

From: Jared Finder <[email-masked]>
Date: Sat, 08 Mar 2025 07:36:47 -0800

On 2025-03-08 00:26, Daniel Mendler wrote:
> Tags: patch
> 
> Compat 30 is available on ELPA and provides `static-if'.

I see this created Bug#76858. (apologies if a new bug is created here)

> -;; Package-Requires: ((emacs "27.1") (compat "29.1"))
> +;; Package-Requires: ((emacs "27.1") (compat "30"))

I think this also needs (eval-when-compile (require 'compat)) since 
static-if is a macro. But I could be wrong here, I'm always a bit 
confused about Emacs Lisp's eval-when forms.

   -- MJF