bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-r


From: Eli Zaretskii
Subject: bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t
Date: Sat, 10 Feb 2024 10:37:02 +0200

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sat, 3 Feb 2024 17:09:53 -0500
> Cc: bjorn.bidar@thaodan.de, 68648@debbugs.gnu.org
> 
> Stefan Monnier <monnier@iro.umontreal.ca> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]