Mercurial > emacs
comparison lispref/internals.texi @ 66313:c2c2d45f3d66
(Building Emacs): Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 22 Oct 2005 16:41:31 +0000 |
parents | 3fcb7f692502 |
children | bcc5c444e119 |
comparison
equal
deleted
inserted
replaced
66312:c6ce52581f1e | 66313:c2c2d45f3d66 |
---|---|
119 | 119 |
120 In a package that can be preloaded, it is sometimes useful to | 120 In a package that can be preloaded, it is sometimes useful to |
121 specify a computation to be done when Emacs subsequently starts up. | 121 specify a computation to be done when Emacs subsequently starts up. |
122 For this, use @code{eval-at-startup}: | 122 For this, use @code{eval-at-startup}: |
123 | 123 |
124 @defmacro eval-at-startup body@dots{} | 124 @defmac eval-at-startup body@dots{} |
125 This evaluates the @var{body} forms, either immediately if running in | 125 This evaluates the @var{body} forms, either immediately if running in |
126 an Emacs that has already started up, or later when Emacs does start | 126 an Emacs that has already started up, or later when Emacs does start |
127 up. Since the value of the @var{body} forms is not necessarily | 127 up. Since the value of the @var{body} forms is not necessarily |
128 available when the @code{eval-at-startup} form is run, that form | 128 available when the @code{eval-at-startup} form is run, that form |
129 always returns @code{nil}. | 129 always returns @code{nil}. |
130 @end defmacro | 130 @end defmac |
131 | 131 |
132 @defun dump-emacs to-file from-file | 132 @defun dump-emacs to-file from-file |
133 @cindex unexec | 133 @cindex unexec |
134 This function dumps the current state of Emacs into an executable file | 134 This function dumps the current state of Emacs into an executable file |
135 @var{to-file}. It takes symbols from @var{from-file} (this is normally | 135 @var{to-file}. It takes symbols from @var{from-file} (this is normally |