aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2019-01-19 20:09:38 +0200
committerEli Zaretskii2019-01-19 20:09:38 +0200
commit8bb5939efaf61eb0dc944eff5023d3f2e6ff85a7 (patch)
tree9cba87ec6a3c85e90455b3c6d08bc12a6b0c2fce /doc
parent436c225f1b8ca48fa7c7e769fe6b7055f37af95d (diff)
downloademacs-8bb5939efaf61eb0dc944eff5023d3f2e6ff85a7.tar.gz
emacs-8bb5939efaf61eb0dc944eff5023d3f2e6ff85a7.zip
Improve 'pdumper-stats' and its documentation
* src/pdumper.c (Fpdumper_stats): Improve formatting and wording of the doc string. Decode the pdump file name and expand-file-name it. * doc/lispref/internals.texi (Building Emacs): Document 'pdumper-stats'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/internals.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index 66606da6ecf..437657f2438 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -225,6 +225,18 @@ Emacs was built without @code{unexec} support, this function will not
225be available. 225be available.
226@end defun 226@end defun
227 227
228@defun pdumper-stats
229If the current Emacs session restored its state from a portable dump
230file, this function returns information about the dump file and the
231time it took to restore the Emacs state. The value is an alist
232@w{@code{((dumped-with-pdumper . t) (load-time . @var{time})
233(dump-file-name . @var{file}))}},
234where @var{file} is the name of the dump file, and @var{time} is the
235time in milliseconds it took to restore the state from the dump file.
236If the current session was not restored from a portable dump file, the
237value is nil.
238@end defun
239
228@node Pure Storage 240@node Pure Storage
229@section Pure Storage 241@section Pure Storage
230@cindex pure storage 242@cindex pure storage