comparison man/building.texi @ 71627:6e10c3f1b820

(Lisp Eval): Througout, replace eval-current-buffer with eval-buffer.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 05 Jul 2006 07:53:25 +0000
parents 4d628cade603
children 88ec0239376a 138ce2701550
comparison
equal deleted inserted replaced
71626:fbe329a11cee 71627:6e10c3f1b820
1248 @item C-M-x 1248 @item C-M-x
1249 Evaluate the defun containing or after point, and print the value in 1249 Evaluate the defun containing or after point, and print the value in
1250 the echo area (@code{eval-defun}). 1250 the echo area (@code{eval-defun}).
1251 @item M-x eval-region 1251 @item M-x eval-region
1252 Evaluate all the Lisp expressions in the region. 1252 Evaluate all the Lisp expressions in the region.
1253 @item M-x eval-current-buffer 1253 @item M-x eval-buffer
1254 Evaluate all the Lisp expressions in the buffer. 1254 Evaluate all the Lisp expressions in the buffer.
1255 @end table 1255 @end table
1256 1256
1257 @ifinfo 1257 @ifinfo
1258 @c This uses ``colon'' instead of a literal `:' because Info cannot 1258 @c This uses ``colon'' instead of a literal `:' because Info cannot
1303 displaying it in the echo area. The argument's value does not matter. 1303 displaying it in the echo area. The argument's value does not matter.
1304 @kbd{C-M-x} with a numeric argument instruments the function 1304 @kbd{C-M-x} with a numeric argument instruments the function
1305 definition for Edebug (@pxref{Instrumenting, Instrumenting for Edebug,, elisp, the Emacs Lisp Reference Manual}). 1305 definition for Edebug (@pxref{Instrumenting, Instrumenting for Edebug,, elisp, the Emacs Lisp Reference Manual}).
1306 1306
1307 @findex eval-region 1307 @findex eval-region
1308 @findex eval-current-buffer 1308 @findex eval-buffer
1309 The most general command for evaluating Lisp expressions from a buffer 1309 The most general command for evaluating Lisp expressions from a buffer
1310 is @code{eval-region}. @kbd{M-x eval-region} parses the text of the 1310 is @code{eval-region}. @kbd{M-x eval-region} parses the text of the
1311 region as one or more Lisp expressions, evaluating them one by one. 1311 region as one or more Lisp expressions, evaluating them one by one.
1312 @kbd{M-x eval-current-buffer} is similar but evaluates the entire 1312 @kbd{M-x eval-buffer} is similar but evaluates the entire
1313 buffer. This is a reasonable way to install the contents of a file of 1313 buffer. This is a reasonable way to install the contents of a file of
1314 Lisp code that you are ready to test. Later, as you find bugs and 1314 Lisp code that you are ready to test. Later, as you find bugs and
1315 change individual functions, use @kbd{C-M-x} on each function that you 1315 change individual functions, use @kbd{C-M-x} on each function that you
1316 change. This keeps the Lisp world in step with the source file. 1316 change. This keeps the Lisp world in step with the source file.
1317 1317