Subject: Re: bug#13641: 24.3.50; `minibuffer-inactive-mode' - hook seems wrong

From: Eli Zaretskii <[email-masked]>
Date: Thu, 15 Jul 2021 10:21:41 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Thu, 15 Jul 2021 08:49:38 +0200
> Cc: [email-masked]
> 
> The mode is called both on entering and exiting the minibuffer, which
> sounds slightly surprising

Isn't it generally true that a mode function is called both when
turning a mode on and when turning it off?  Then why is the above
surprising?