Mercurial > emacs
changeset 60260:a8e0abd18501
(Abbrev Expansion): Clarify, fix typo.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 26 Feb 2005 23:47:22 +0000 |
parents | 04c26ff29449 |
children | dd9ce828300e |
files | lispref/abbrevs.texi |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/abbrevs.texi Sat Feb 26 15:23:43 2005 +0000 +++ b/lispref/abbrevs.texi Sat Feb 26 23:47:22 2005 +0000 @@ -269,10 +269,10 @@ @end deffn @deffn Command abbrev-prefix-mark &optional arg -This command marks current point as the beginning of an abbrev. The -next call to @code{expand-abbrev} will use the text from here to point -(where it is then) as the abbrev to expand, rather than using the -previous word as usual. +This command marks the current location of point as the beginning of +an abbrev. The next call to @code{expand-abbrev} will use the text +from here to point (where it is then) as the abbrev to expand, rather +than using the previous word as usual. First, this command expands any abbrev before point, unless @var{arg} is non-@code{nil}. (Interactively, @var{arg} is the prefix argument.) @@ -363,7 +363,7 @@ nil t))) @end smallexample -Note that @code{foo-mode-pre-abbrex-expand} just returns @code{nil} +Note that @code{foo-mode-pre-abbrev-expand} just returns @code{nil} without doing anything for lines not starting with @samp{#}. Hence abbrevs expand normally using @code{foo-mode-abbrev-table} as local abbrev table for such lines.