Next: Abbrev Expansion, Previous: Defining Abbrevs, Up: Abbrevs
A file of saved abbrev definitions is actually a file of Lisp code.
The abbrevs are saved in the form of a Lisp program to define the same
abbrev tables with the same contents. Therefore, you can load the file
with load
(see How Programs Do Loading). However, the
function quietly-read-abbrev-file
is provided as a more
convenient interface.
User-level facilities such as save-some-buffers
can save
abbrevs in a file automatically, under the control of variables
described here.
This function reads abbrev definitions from a file named filename, previously written with
write-abbrev-file
. If filename is omitted ornil
, the file specified inabbrev-file-name
is used.save-abbrevs
is set tot
so that changes will be saved.This function does not display any messages. It returns
nil
.
A non-
nil
value forsave-abbrev
means that Emacs should save abbrevs when files are saved.abbrev-file-name
specifies the file to save the abbrevs in.