# HG changeset patch # User Eli Zaretskii # Date 1002878754 0 # Node ID f0947afcdf4c9d1c2c91e6b4a101e85b97d2bd81 # Parent dd4e185b0265b37019f714e0d01c15d99d739f86 (Compilation): Document "M-x recompile". diff -r dd4e185b0265 -r f0947afcdf4c man/building.texi --- a/man/building.texi Fri Oct 12 09:05:51 2001 +0000 +++ b/man/building.texi Fri Oct 12 09:25:54 2001 +0000 @@ -44,6 +44,9 @@ @item M-x compile Run a compiler asynchronously under Emacs, with error messages going to the @samp{*compilation*} buffer. +@item M-x recompile +Invoke a compiler with the same command as in the last invocation of +@kbd{M-x compile}. @item M-x grep Run @code{grep} asynchronously under Emacs, with matching lines listed in the buffer named @samp{*grep*}. @@ -105,6 +108,11 @@ compile} asks for confirmation before actually killing a compilation that is running. +@findex recompile + To rerun the last compilation with the same command, type @kbd{M-x +recompile}. This automatically reuses the compilation command from the +last invocation of @kbd{M-x compile}. + @node Grep Searching @section Searching with Grep under Emacs