Because an S::STARTUP function can be
defined in many places (an acad.lsp file, a .mnl file, or any other
AutoLISP file loaded from either of these), it's possible to overwrite a
previously defined S::STARTUP function. The following example shows one
method of ensuring that
your start-up function works with other functions.
(defun MYSTARTUP ()
....Your Start Up Function....
(setq S::STARTUP (append S::STARTUP MYSTARTUP))
The previous code appends your start up
function to that of an existing S::STARTUP funtion, and then redefines the
S::STARTUP function to include you startup code. This works properly
regardless of the prior existence of an S::STARTUP function.