[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/abbrevs.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/abbrevs.texi |
Date: |
Sat, 26 Feb 2005 18:47:22 -0500 |
Index: emacs/lispref/abbrevs.texi
diff -c emacs/lispref/abbrevs.texi:1.23 emacs/lispref/abbrevs.texi:1.24
*** emacs/lispref/abbrevs.texi:1.23 Sat Aug 28 00:41:31 2004
--- emacs/lispref/abbrevs.texi Sat Feb 26 23:47:22 2005
***************
*** 269,278 ****
@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.
First, this command expands any abbrev before point, unless @var{arg}
is address@hidden (Interactively, @var{arg} is the prefix argument.)
--- 269,278 ----
@end deffn
@deffn Command abbrev-prefix-mark &optional arg
! 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 address@hidden (Interactively, @var{arg} is the prefix argument.)
***************
*** 363,369 ****
nil t)))
@end smallexample
! Note that @code{foo-mode-pre-abbrex-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.
--- 363,369 ----
nil t)))
@end smallexample
! 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/abbrevs.texi,
Richard M . Stallman <=