Emacs-wgrep
Emacs-wgrep copied to clipboard
`condition-case-nil` in `wgrep-commit-buffer` prevents error message from `wgrep-check-buffer`
I had a little difficulty figuring out that a read-only buffer could not be modified because wgrep-change-readonly-file
was nil
and the condition-case-nil
section of wgrep-commit-buffer
suppresses the error message that would ordinarily be printed by wgrep-check-buffer
.
Sorry for the late response.
Thanks for the report. But I couldn't figure out what your report is.
wgrep catch that error and put error message as an overlay.
You put the cursor on the line, you could see the error message which is raised from wgrep-check-buffer
.