Subject: Re: bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t
From: Eli Zaretskii <[email-masked]>
To: Stefan Kangas <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Sat, 10 Feb 2024 10:37:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Stefan Kangas <[email-masked]>
> Date: Sat, 3 Feb 2024 17:09:53 -0500
> Cc: [email-masked], [email-masked]
> 
> Stefan Monnier <[email-masked]> writes:
> 
> >> On second thought, would it be okay to just call the mode hook where
> >> we set buffer-read-only in after-find-file?
> >
> > It's probably an acceptable middle ground until someone goes through the
> > trouble of sorting out how to make the code call `read-only-mode`.
> > Even better if the `run-hooks` is accompanied with a FIXME explaining
> > that :-)
> 
> Makes sense to me.

Now done on master, let's see what this breaks.

Closing.