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 Kangas
Subject: bug#68648: 30.0.50; read-only-mode-hook's are not executed when buffer-read-only is t
Date: Sat, 3 Feb 2024 17:09:53 -0500

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.





reply via email to

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