aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-26 23:47:22 +0000
committerRichard M. Stallman2005-02-26 23:47:22 +0000
commita7cc2e20fd266ebcf0a325878415d5e067243f4a (patch)
tree94981b2bd411e0a6164cf6ec731ce2d0e29fc510
parenta6efc2c25d1c6b32827c54deaccc6dd704d34d96 (diff)
downloademacs-a7cc2e20fd266ebcf0a325878415d5e067243f4a.tar.gz
emacs-a7cc2e20fd266ebcf0a325878415d5e067243f4a.zip
(Abbrev Expansion): Clarify, fix typo.
-rw-r--r--lispref/abbrevs.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/lispref/abbrevs.texi b/lispref/abbrevs.texi
index 1f873312222..a58064ab387 100644
--- a/lispref/abbrevs.texi
+++ b/lispref/abbrevs.texi
@@ -269,10 +269,10 @@ returns @code{nil} even though expansion did occur.
269@end deffn 269@end deffn
270 270
271@deffn Command abbrev-prefix-mark &optional arg 271@deffn Command abbrev-prefix-mark &optional arg
272This command marks current point as the beginning of an abbrev. The 272This command marks the current location of point as the beginning of
273next call to @code{expand-abbrev} will use the text from here to point 273an abbrev. The next call to @code{expand-abbrev} will use the text
274(where it is then) as the abbrev to expand, rather than using the 274from here to point (where it is then) as the abbrev to expand, rather
275previous word as usual. 275than using the previous word as usual.
276 276
277First, this command expands any abbrev before point, unless @var{arg} 277First, this command expands any abbrev before point, unless @var{arg}
278is non-@code{nil}. (Interactively, @var{arg} is the prefix argument.) 278is non-@code{nil}. (Interactively, @var{arg} is the prefix argument.)
@@ -363,7 +363,7 @@ definitions of @code{local-abbrev-table} and @code{text-mode-abbrev-table}.
363 nil t))) 363 nil t)))
364@end smallexample 364@end smallexample
365 365
366Note that @code{foo-mode-pre-abbrex-expand} just returns @code{nil} 366Note that @code{foo-mode-pre-abbrev-expand} just returns @code{nil}
367without doing anything for lines not starting with @samp{#}. Hence 367without doing anything for lines not starting with @samp{#}. Hence
368abbrevs expand normally using @code{foo-mode-abbrev-table} as local 368abbrevs expand normally using @code{foo-mode-abbrev-table} as local
369abbrev table for such lines. 369abbrev table for such lines.