Subject: Re: bug#72887: 31.0.50; use-package: :diminish keyword doesn't work unless form re-evaluated

From: Stefan Kangas <[email-masked]>
Date: Sat, 14 Sep 2024 06:02:15 -0700

[email-masked] writes:

> the use-package :diminish keyword is not removing indicators from the
> mode-line unless the form is evaluated a second time.  This was
> previously working as expected.  This might be related to the fix for
> #72453.
>
> ;; evaluate the following forms (in *scratch* or from init file)
> (use-package diminish :ensure t)
> (use-package which-key :init (which-key-mode) :diminish)

I can't reproduce the bug on master using the following recipe (starting
from emacs -Q):

    (progn
      (package-initialize)
      (use-package diminish :ensure t)
      (use-package which-key :init (which-key-mode) :diminish))

Are there any additional steps required to reproduce the bug?