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: Stefan Monnier
Subject: bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t
Date: Sat, 03 Feb 2024 11:28:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> 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 :-)


        Stefan






reply via email to

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