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?


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, privacy policy and cookie policy

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