abbrev_table_p
Integer abbrev_table_p (String name);
Returns non-zero if an abbreviation table with called name
exists. If
the table does not exist, it returns zero.
create_abbrev_table
Void create_abbrev_table (String name, String word);
Create an abbreviation table with name name
. The second parameter
word
is the list of characters used to represent a word for the
table. If the empty string is passed for word
, the characters that
currently constitute a word are used.
define_abbrev
Void define_abbrev (String tbl, String abbrv, String expans);
This function is used to define an abbreviation abbrv
that will be
expanded to expans
. The definition will be placed in the table with
name tbl
.
delete_abbrev_table
Void delete_abbrev_table (String name);
Delete the abbrev table specified by name
.
dump_abbrev_table
Void dump_abbrev_table (String name);
This function inserts the contents of the abbreviation table called
name
into the current buffer.
list_abbrev_tables
Integer list_abbrev_tables ();
This function returns the names of all currently defined abbreviation tables. The top item on the stack will be the number of tables followed by the names of the tables.
use_abbrev_table
Void use_abbrev_table (String table);
Use the abbreviation table named table
as the abbreviation table for
the current buffer. By default, the "Global" table is used.
what_abbrev_table
(String, String) what_abbrev_table ();
This functions returns both the name of the abbreviation table and the definition of the word for the table currently associated with the current buffer. If none is defined it returns two empty strings.