Would it be possible/desirable to change the error message that displays when user attempts to edit a read-only hyperdrive file?
Instead of an error like Buffer is read-only: #<buffer [petname:foo] bar>
, the errors might be:
Hyperdrive not writable
or
Cannot write to old version
In order to accomplish this, could we locally bind
command-error-function
, like here?The
*Help*
buffer says "This variable may be risky if used as a file-local variable."