Emacs-wgrep icon indicating copy to clipboard operation
Emacs-wgrep copied to clipboard

`condition-case-nil` in `wgrep-commit-buffer` prevents error message from `wgrep-check-buffer`

Open lawlist opened this issue 8 years ago • 1 comments

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.

lawlist avatar Sep 22 '15 07:09 lawlist

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 .

mhayashi1120 avatar Nov 15 '15 03:11 mhayashi1120