Possible Duplicate:
Using Emacs to recursively find and replace in text files not already open
I am using emacs and want to replace a word (well, all functions called foo() to foobar()) for all occurrences in a directory of source files. What is the best way to do this?