~ushin/ushin#70: 
Improve buffer-read-only error message

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

Status
REPORTED
Submitter
~ushin
Assigned to
Submitted
1 year, 4 months ago
Updated
6 months ago
Labels
0.5.0 hyperdrive.el

~ushin 1 year, 4 months ago

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."

Register here or Log in to comment, or comment via email.