# save-dictionary(2)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

save-dictionary - Save changed spelling dictionaries

## SYNOPSIS

n save-dictionary ["dictionary"]

## DESCRIPTION

save-dictionary may be used to save one, or all changed, dictionaries back to disk. By default save-dictionary prompts for a single dictionary, which is then saved. If the dictionary to be saved has been created within the session (rather than read from disk) the user is always prompted to save and enter a full dictionary file name (pathname) to save to. If the dictionary was not created then the user is only prompted to save if,

- a non-zero argument is supplied
- and the users history registry node "/history/spell/autosave" does not exist or its value is zero.

Otherwise the dictionary is automatically saved.

The argument n may be used to control the effect of the command, n is a bit based flag defined as follows:-

0x01

Enables prompting before saving, only used when saving all dictionaries.

0x02

Save all changed dictionaries.

## NOTES

This command is called to save all dictionary changes whenever MicroEmacs is exited.

The dictionary auto-save registry value can be changed via the user-setup(3) dialog.

## SEE ALSO

add-dictionary(2), delete-dictionary(2), spell(2).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>