aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert J. Chassell2002-04-27 13:10:05 +0000
committerRobert J. Chassell2002-04-27 13:10:05 +0000
commite601d8fd57f143f90ad8e8be65d8677a45283f26 (patch)
tree8d78375b466515c84d0e0854b3429ceee976d6b1
parent82e119fb4dd9baffd2475b8f925e2e8b819bbe5e (diff)
downloademacs-e601d8fd57f143f90ad8e8be65d8677a45283f26.tar.gz
emacs-e601d8fd57f143f90ad8e8be65d8677a45283f26.zip
Fixed typographic errors.
-rw-r--r--lispintro/emacs-lisp-intro.texi27
1 files changed, 14 insertions, 13 deletions
diff --git a/lispintro/emacs-lisp-intro.texi b/lispintro/emacs-lisp-intro.texi
index 26cb66e1bcc..744069caffd 100644
--- a/lispintro/emacs-lisp-intro.texi
+++ b/lispintro/emacs-lisp-intro.texi
@@ -1331,7 +1331,7 @@ commands to format the Lisp expression so it is easy to read. For
1331example, pressing the @key{TAB} key automatically indents the line the 1331example, pressing the @key{TAB} key automatically indents the line the
1332cursor is on by the right amount. A command to properly indent the 1332cursor is on by the right amount. A command to properly indent the
1333code in a region is customarily bound to @kbd{M-C-\}. Indentation is 1333code in a region is customarily bound to @kbd{M-C-\}. Indentation is
1334designed so that you can see which elements of a list belongs to which 1334designed so that you can see which elements of a list belong to which
1335list---elements of a sub-list are indented more than the elements of 1335list---elements of a sub-list are indented more than the elements of
1336the enclosing list. 1336the enclosing list.
1337 1337
@@ -3690,7 +3690,7 @@ variables have no effect outside the @code{let} expression.
3690Another way to think about @code{let} is that it is like a @code{setq} 3690Another way to think about @code{let} is that it is like a @code{setq}
3691that is temporary and local. The values set by @code{let} are 3691that is temporary and local. The values set by @code{let} are
3692automatically undone when the @code{let} is finished. The setting 3692automatically undone when the @code{let} is finished. The setting
3693only effects expressions that are inside the bounds of the @code{let} 3693only affects expressions that are inside the bounds of the @code{let}
3694expression. In computer science jargon, we would say ``the binding of 3694expression. In computer science jargon, we would say ``the binding of
3695a symbol is visible only in functions called in the @code{let} form; 3695a symbol is visible only in functions called in the @code{let} form;
3696in Emacs Lisp, scoping is dynamic, not lexical.'' 3696in Emacs Lisp, scoping is dynamic, not lexical.''
@@ -4737,7 +4737,7 @@ In another section, we will describe the entire function.
4737Before looking at the code, let's consider what the function 4737Before looking at the code, let's consider what the function
4738definition has to contain: it must include an expression that makes 4738definition has to contain: it must include an expression that makes
4739the function interactive so it can be called by typing @kbd{M-x 4739the function interactive so it can be called by typing @kbd{M-x
4740beginning-of-buffer} or by typing a keychord such as @kbd{C-<}; it 4740beginning-of-buffer} or by typing a keychord such as @kbd{M-<}; it
4741must include code to leave a mark at the original position in the 4741must include code to leave a mark at the original position in the
4742buffer; and it must include code to move the cursor to the beginning 4742buffer; and it must include code to move the cursor to the beginning
4743of the buffer. 4743of the buffer.
@@ -5571,13 +5571,13 @@ buffer:@: }.
5571@cindex Asterisk for read-only buffer 5571@cindex Asterisk for read-only buffer
5572@findex * @r{for read-only buffer} 5572@findex * @r{for read-only buffer}
5573 5573
5574The asterisk is for the situation when the buffer is a read-only 5574The asterisk is for the situation when the current buffer is a
5575buffer---a buffer that cannot be modified. If @code{insert-buffer} is 5575read-only buffer---a buffer that cannot be modified. If
5576called on a buffer that is read-only, a message to this effect is 5576@code{insert-buffer} is called when the current buffer is read-only, a
5577printed in the echo area and the terminal may beep or blink at you; 5577message to this effect is printed in the echo area and the terminal
5578you will not be permitted to insert anything into current buffer. The 5578may beep or blink at you; you will not be permitted to insert anything
5579asterisk does not need to be followed by a newline to separate it from 5579into current buffer. The asterisk does not need to be followed by a
5580the next argument. 5580newline to separate it from the next argument.
5581 5581
5582@node b for interactive, , Read-only buffer, insert-buffer interactive 5582@node b for interactive, , Read-only buffer, insert-buffer interactive
5583@comment node-name, next, previous, up 5583@comment node-name, next, previous, up
@@ -7142,6 +7142,7 @@ Construct a list of four birds by evaluating several expressions with
7142@code{cons}. Find out what happens when you @code{cons} a list onto 7142@code{cons}. Find out what happens when you @code{cons} a list onto
7143itself. Replace the first element of the list of four birds with a 7143itself. Replace the first element of the list of four birds with a
7144fish. Replace the rest of that list with a list of other fish. 7144fish. Replace the rest of that list with a list of other fish.
7145
7145@node Cutting & Storing Text, List Implementation, car cdr & cons, Top 7146@node Cutting & Storing Text, List Implementation, car cdr & cons, Top
7146@comment node-name, next, previous, up 7147@comment node-name, next, previous, up
7147@chapter Cutting and Storing Text 7148@chapter Cutting and Storing Text
@@ -10369,7 +10370,7 @@ list': @code{dolist} automatically shortens the list each time it
10369loops---takes the @sc{cdr} of the list---and binds the @sc{car} of 10370loops---takes the @sc{cdr} of the list---and binds the @sc{car} of
10370each shorter version of the list to the first of its arguments. 10371each shorter version of the list to the first of its arguments.
10371 10372
10372@code{dotimes} loops a specific number of time: you specify the number. 10373@code{dotimes} loops a specific number of times: you specify the number.
10373 10374
10374@menu 10375@menu
10375* dolist:: 10376* dolist::
@@ -16080,7 +16081,7 @@ initialization file.
16080@findex defcustom 16081@findex defcustom
16081 16082
16082You can specify variables using @code{defcustom} so that you and 16083You can specify variables using @code{defcustom} so that you and
16083others can then can use Emacs' @code{customize} feature to set their 16084others can then use Emacs' @code{customize} feature to set their
16084values. (You cannot use @code{customize} to write function 16085values. (You cannot use @code{customize} to write function
16085definitions; but you can write @code{defuns} in your @file{.emacs} 16086definitions; but you can write @code{defuns} in your @file{.emacs}
16086file. Indeed, you can write any Lisp expression in your @file{.emacs} 16087file. Indeed, you can write any Lisp expression in your @file{.emacs}
@@ -18636,7 +18637,7 @@ argument, as they quite well may?
18636The answers can be found by a quick test. When @code{(% -1 5)} is 18637The answers can be found by a quick test. When @code{(% -1 5)} is
18637evaluated, a negative number is returned; and if @code{nthcdr} is 18638evaluated, a negative number is returned; and if @code{nthcdr} is
18638called with a negative number, it returns the same value as if it were 18639called with a negative number, it returns the same value as if it were
18639called with a first argument of zero. This can be seen be evaluating 18640called with a first argument of zero. This can be seen by evaluating
18640the following code. 18641the following code.
18641 18642
18642Here the @samp{@result{}} points to the result of evaluating the code 18643Here the @samp{@result{}} points to the result of evaluating the code