]> code.delx.au - gnu-emacs/blobdiff - lispref/abbrevs.texi
(xscheme-insert-expression): Use add-to-history.
[gnu-emacs] / lispref / abbrevs.texi
index 1f8733122221dd5a08752b8bbe17c4d31f1fe0b1..52b3dfe1ad6771080e76dc033479b53b476f9ac7 100644 (file)
@@ -1,7 +1,7 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1999, 2004
-@c   Free Software Foundation, Inc.
+@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1999, 2002, 2003, 2004,
+@c   2005, 2006 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
 @setfilename ../info/abbrevs
 @node Abbrevs, Processes, Syntax Tables, Top
@@ -269,10 +269,10 @@ returns @code{nil} even though expansion did occur.
 @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 @@ definitions of @code{local-abbrev-table} and @code{text-mode-abbrev-table}.
                        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.