269 |
@end deffn |
@end deffn |
270 |
|
|
271 |
@deffn Command abbrev-prefix-mark &optional arg |
@deffn Command abbrev-prefix-mark &optional arg |
272 |
This command marks current point as the beginning of an abbrev. The |
This command marks the current location of point as the beginning of |
273 |
next call to @code{expand-abbrev} will use the text from here to point |
an 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 |
from here to point (where it is then) as the abbrev to expand, rather |
275 |
previous word as usual. |
than using the previous word as usual. |
276 |
|
|
277 |
First, this command expands any abbrev before point, unless @var{arg} |
First, this command expands any abbrev before point, unless @var{arg} |
278 |
is non-@code{nil}. (Interactively, @var{arg} is the prefix argument.) |
is non-@code{nil}. (Interactively, @var{arg} is the prefix argument.) |
363 |
nil t))) |
nil t))) |
364 |
@end smallexample |
@end smallexample |
365 |
|
|
366 |
Note that @code{foo-mode-pre-abbrex-expand} just returns @code{nil} |
Note that @code{foo-mode-pre-abbrev-expand} just returns @code{nil} |
367 |
without doing anything for lines not starting with @samp{#}. Hence |
without doing anything for lines not starting with @samp{#}. Hence |
368 |
abbrevs expand normally using @code{foo-mode-abbrev-table} as local |
abbrevs expand normally using @code{foo-mode-abbrev-table} as local |
369 |
abbrev table for such lines. |
abbrev table for such lines. |