[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43460: 26.3; Package install fails if read-only-mode hooked to find-
From: |
Lars Ingebrigtsen |
Subject: |
bug#43460: 26.3; Package install fails if read-only-mode hooked to find-file |
Date: |
Thu, 17 Sep 2020 18:03:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Pablo Aguado <aguadopd@hotmail.com> writes:
> I have set the following to always open files in read-only-mode:
> (add-hook 'find-file-hook 'read-only-mode)
>
> When I tried to install a new package through package-install, I got
> (buffer-read-only #<buffer adaptive-wrap-autoloads.el>)
I've now made package install autoload generation ignore find-file-hook
in Emacs 28, which seems to fix the problem there.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no