[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/internals.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/internals.texi |
Date: |
Sat, 22 Oct 2005 11:15:57 -0400 |
Index: emacs/lispref/internals.texi
diff -c emacs/lispref/internals.texi:1.42 emacs/lispref/internals.texi:1.43
*** emacs/lispref/internals.texi:1.42 Wed Aug 10 14:29:00 2005
--- emacs/lispref/internals.texi Sat Oct 22 15:15:56 2005
***************
*** 117,122 ****
--- 117,134 ----
normal features for your site, do it with @file{default.el}, so that
users can override your changes if they wish. @xref{Startup Summary}.
+ In a package that can be preloaded, it is sometimes useful to
+ specify a computation to be done when Emacs subsequently starts up.
+ For this, use @code{eval-at-startup}:
+
+ @defmacro eval-at-startup address@hidden
+ This evaluates the @var{body} forms, either immediately if running in
+ an Emacs that has already started up, or later when Emacs does start
+ up. Since the value of the @var{body} forms is not necessarily
+ available when the @code{eval-at-startup} form is run, that form
+ always returns @code{nil}.
+ @end defmacro
+
@defun dump-emacs to-file from-file
@cindex unexec
This function dumps the current state of Emacs into an executable file
- [Emacs-diffs] Changes to emacs/lispref/internals.texi,
Richard M . Stallman <=