[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19226: eww.el desktop support fixes: autoload eww-mode, use inhibit-
From: |
Stefan Monnier |
Subject: |
bug#19226: eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only |
Date: |
Mon, 01 Dec 2014 08:52:01 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> Come to think of it, desktop mode could solve this itself:
It could, but I think this would be trying to be too clever.
> Moreover, “general purpose” modes are ought to be autoloaded
> anyway. I see no reason to second-guess this case at the least.
I tend to agree. If the major-mode is not autoloaded (as in the eww
case), it's quite likely to be a special major mode that is better
entered via some other function (e.g. store the URL and recreate the
buffer via `eww' which will take care calling eww-mode (and loading any
file that this may require)).
Stefan