# start-up(3)

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

## NAME

start-up - Editor startup callback command
shut-down - Editor exit callback command

## SYNOPSIS

start-up
shut-down

## DESCRIPTION

By default start-up is not defined, if the command is defined (via a user macro) then it is executed immediately after MicroEmacs 2009 has completed its initialization.

This command may initially seem redundant as the user may execute any command at start-up by editing the "`me.emf`" file or using the '@' command-line argument. At the point of "`me.emf`" file execution none of the files specified on the command-line will be loaded, thus any actions required on the given command-line files will not work (the only buffer present will be the "*scratch*" buffer).

The start-up command is executed AFTER the execution of "`me.emf`" and initialization of buffers, but before MicroEmacs 2009 waits for user input.

The shut-down command is also not defined by default, but if it is defined during the running of MicroEmacs the command will be called when MicroEmacs exits. The command is not called if MicroEmacs has to perform an emergency exit (due to the system being shut down or process being killed etc).

## SEE ALSO

me(1).

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

</HMTL>