# save-registry(2)

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

## NAME

save-registry - Write a registry definition file

## SYNOPSIS

n save-registry ["root" "file"]

## DESCRIPTION

save-registry saves a registry tree, defined by root, to a registry file file in the erf(8) format. By default the user is prompted for the registry root to save, which must already exist. If the file given is the empty string `""`, the registry node root must be a root node with an associated file name stored, this file name is used.

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 registries.

0x02

Save all changed registries except the history node which should be saved using the command save-session(3).

## NOTES

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

## SEE ALSO

copy-registry(3), delete-registry(2), list-registry(2), mark-registry(2), read-registry(2), save-session(3), set-registry(2), &reg(4), erf(8).

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

</HMTL>