1011 |
@item |
@item |
1012 |
The new mode has its own mode hook, @code{@var{variant}-hook}. It |
The new mode has its own mode hook, @code{@var{variant}-hook}. It |
1013 |
runs this hook, after running the hooks of its ancestor modes, with |
runs this hook, after running the hooks of its ancestor modes, with |
1014 |
@code{run-mode-hooks}. |
@code{run-mode-hooks} (@pxref{Mode Hooks}). |
1015 |
@end itemize |
@end itemize |
1016 |
|
|
1017 |
In addition, you can specify how to override other aspects of |
In addition, you can specify how to override other aspects of |
1047 |
@item :abbrev-table |
@item :abbrev-table |
1048 |
You can use this to explicitly specify an abbrev table for the new |
You can use this to explicitly specify an abbrev table for the new |
1049 |
mode. If you specify a @code{nil} value, the new mode uses the same |
mode. If you specify a @code{nil} value, the new mode uses the same |
1050 |
abbrev-table as @var{parent}, or @code{fundamental-mode-abbrev-table} |
abbrev table as @var{parent}, or @code{fundamental-mode-abbrev-table} |
1051 |
if @var{parent} is @code{nil}. (Again,a @code{nil} value is |
if @var{parent} is @code{nil}. (Again, a @code{nil} value is |
1052 |
@emph{not} equivalent to not specifying this keyword.) |
@emph{not} equivalent to not specifying this keyword.) |
1053 |
@end table |
@end table |
1054 |
|
|