comparison man/building.texi @ 39820:f0947afcdf4c

(Compilation): Document "M-x recompile".
author Eli Zaretskii <eliz@gnu.org>
date Fri, 12 Oct 2001 09:25:54 +0000
parents 3b40423b9355
children 0e87fd2f82b4
comparison
equal deleted inserted replaced
39819:dd4e185b0265 39820:f0947afcdf4c
42 42
43 @table @kbd 43 @table @kbd
44 @item M-x compile 44 @item M-x compile
45 Run a compiler asynchronously under Emacs, with error messages going to 45 Run a compiler asynchronously under Emacs, with error messages going to
46 the @samp{*compilation*} buffer. 46 the @samp{*compilation*} buffer.
47 @item M-x recompile
48 Invoke a compiler with the same command as in the last invocation of
49 @kbd{M-x compile}.
47 @item M-x grep 50 @item M-x grep
48 Run @code{grep} asynchronously under Emacs, with matching lines 51 Run @code{grep} asynchronously under Emacs, with matching lines
49 listed in the buffer named @samp{*grep*}. 52 listed in the buffer named @samp{*grep*}.
50 @item M-x grep-find 53 @item M-x grep-find
51 Run @code{grep} via @code{find}, with user-specified arguments, and 54 Run @code{grep} via @code{find}, with user-specified arguments, and
102 @samp{*compilation*} buffer changes to say @samp{signal} instead of 105 @samp{*compilation*} buffer changes to say @samp{signal} instead of
103 @samp{run}. Starting a new compilation also kills any running 106 @samp{run}. Starting a new compilation also kills any running
104 compilation, as only one can exist at any time. However, @kbd{M-x 107 compilation, as only one can exist at any time. However, @kbd{M-x
105 compile} asks for confirmation before actually killing a compilation 108 compile} asks for confirmation before actually killing a compilation
106 that is running. 109 that is running.
110
111 @findex recompile
112 To rerun the last compilation with the same command, type @kbd{M-x
113 recompile}. This automatically reuses the compilation command from the
114 last invocation of @kbd{M-x compile}.
107 115
108 @node Grep Searching 116 @node Grep Searching
109 @section Searching with Grep under Emacs 117 @section Searching with Grep under Emacs
110 118
111 @findex grep 119 @findex grep