1001 |
@code{:syntax-table} keyword (see below). @code{define-derived-mode} |
@code{:syntax-table} keyword (see below). @code{define-derived-mode} |
1002 |
makes the parent mode's syntax-table the parent of |
makes the parent mode's syntax-table the parent of |
1003 |
@code{@var{variant}-syntax-table}, unless the latter is already set |
@code{@var{variant}-syntax-table}, unless the latter is already set |
1004 |
and already has a parent different from @code{standard-syntax-table}. |
and already has a parent different from the standard syntax table. |
1005 |
|
|
1006 |
@item |
@item |
1007 |
The new mode has its own abbrev table, kept in the variable |
The new mode has its own abbrev table, kept in the variable |
1039 |
@item :syntax-table |
@item :syntax-table |
1040 |
You can use this to explicitly specify a syntax table for the new |
You can use this to explicitly specify a syntax table for the new |
1041 |
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 |
1042 |
syntax table as @var{parent}, or @code{standard-syntax-table} if |
syntax table as @var{parent}, or the standard syntax table if |
1043 |
@var{parent} is @code{nil}. (Note that this does @emph{not} follow |
@var{parent} is @code{nil}. (Note that this does @emph{not} follow |
1044 |
the convention used for non-keyword arguments that a @code{nil} value |
the convention used for non-keyword arguments that a @code{nil} value |
1045 |
is equivalent with not specifying the argument.) |
is equivalent with not specifying the argument.) |