Emacs command for searching in files

Viewed 45716

I want to search in all files from the current folder for macro CODE_INIT_PARAMETERS.

I can do Alt + X occur, Return CODE_INIT_PARAMETERS Return, but this shows only entries from open buffers.

Is there a way to search all files from current folder, from Emacs, without switching to M-x shell and then grep? I want to avoid grep, because for some commands (M-x occur) Emacs do jumps to offending code, and I want that too.

7 Answers
Related