@c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1999, 2001, 2002, 2003,
-@c 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+@c Copyright (C) 1990-1994, 1999, 2001-2011 Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions.
@setfilename ../../info/abbrevs
@node Abbrevs, Processes, Syntax Tables, Top
This variable automatically becomes buffer-local when set in any fashion.
@end defopt
-@defvar default-abbrev-mode
-This is the value of @code{abbrev-mode} for buffers that do not
-override it. It is the same as @code{(default-value 'abbrev-mode)}.
-@end defvar
-
@node Abbrev Tables, Defining Abbrevs, Abbrev Mode, Abbrevs
@section Abbrev Tables
returns @code{nil} even though expansion did occur.
@end deffn
-@deffn abbrev-insert abbrev &optional name start end
+@defun abbrev-insert abbrev &optional name start end
This function inserts the abbrev expansion of @code{abbrev}, replacing
the text between @code{start} and @code{end}. If @code{start} is
omitted, it defaults to point. @code{name}, if non-@code{nil}, should
figure out whether to adjust the capitalization of the expansion. The
function returns @code{abbrev} if the abbrev was successfully
inserted.
-@end deffn
+@end defun
@deffn Command abbrev-prefix-mark &optional arg
This command marks the current location of point as the beginning of
(funcall expand))))
(add-hook 'foo-mode-hook
- #'(lambda ()
- (add-hook 'abbrev-expand-functions
- 'foo-mode-abbrev-expand-function
- nil t)))
+ #'(lambda ()
+ (add-hook 'abbrev-expand-functions
+ 'foo-mode-abbrev-expand-function
+ nil t)))
@end smallexample
@node Standard Abbrev Tables, Abbrev Properties, Abbrev Expansion, Abbrevs
added to the table.
@end table
-
-
-@ignore
- arch-tag: 5ffdbe08-2cd4-48ec-a5a8-080f95756eec
-@end ignore