Chong Yidong writes:
> Instead of sprinking with-no-warnings all over, I propose removing
> toggle-read-only from byte-compile-interactive-only-functions. Any
Wouldn't it be nicer to have a non-interactive interface to that
functionality, with the toggling of "view-mode" removed (which seems to
be what the warning admonishes against)? Maybe something named
with-read-only-buffer and with-editable-buffer?