I'm recursively grepping a large project using M-x rgrep.

After a few seconds pass I see the text I was searching for. At this point how can I cancel the search whilst preserving the buffer contents?


1 Answer 1


C-c C-k should be bound to kill-compilation, which should do the job.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.