comparison lispref/internals.texi @ 18413:487c3d3c2283

dump-emacs works only with -batch.
author Richard M. Stallman <rms@gnu.org>
date Mon, 23 Jun 1997 04:19:27 +0000
parents 981e116b4ac6
children 66d807bdc5b4
comparison
equal deleted inserted replaced
18412:3febbe908cc3 18413:487c3d3c2283
108 normal features for your site, do it with @file{default.el}, so that 108 normal features for your site, do it with @file{default.el}, so that
109 users can override your changes if they wish. @xref{Start-up Summary}. 109 users can override your changes if they wish. @xref{Start-up Summary}.
110 110
111 @defun dump-emacs to-file from-file 111 @defun dump-emacs to-file from-file
112 @cindex unexec 112 @cindex unexec
113 This function dumps the current state of Emacs into an executable file 113 This function dumps the current state of Emacs into an executable file
114 @var{to-file}. It takes symbols from @var{from-file} (this is normally 114 @var{to-file}. It takes symbols from @var{from-file} (this is normally
115 the executable file @file{temacs}). 115 the executable file @file{temacs}).
116 116
117 If you use this function in an Emacs that was already dumped, you must 117 If you want to use this function in an Emacs that was already dumped,
118 set @code{command-line-processed} to @code{nil} first for good results. 118 you must run Emacs with @samp{-batch}.
119 @xref{Command Line Arguments}.
120 @end defun 119 @end defun
121 120
122 @deffn Command emacs-version 121 @deffn Command emacs-version
123 This function returns a string describing the version of Emacs that is 122 This function returns a string describing the version of Emacs that is
124 running. It is useful to include this string in bug reports. 123 running. It is useful to include this string in bug reports.