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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 30 Aug 2024 13:53:06 +0300

> Date: Thu, 29 Aug 2024 22:33:57 -0700
> From: [email-masked]
> 
> 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)
> 
> ;; "WK" indicator appears in mode-line.
> 
> ;; re-evaluate and the "WK" indicator is removed as expected.
> (use-package which-key :init (which-key-mode) :diminish)

Stefan, can you please look into this?

(IMNSHO, the documentation of :diminish in the use-package manual is
less than satisfactory.  It should at least say what does this keyword
do when diminish _is_ installed.)