aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2019-01-18 17:58:47 +0200
committerEli Zaretskii2019-01-18 17:58:47 +0200
commit6bac9ea1770c0954adf5f4af660e94b5a0b09003 (patch)
treee4a5666436f17bddb99d3067475a1c6f0bf25b8e /src
parent957090b79531fbd7729e5d28c3496b9114c1f543 (diff)
downloademacs-6bac9ea1770c0954adf5f4af660e94b5a0b09003.tar.gz
emacs-6bac9ea1770c0954adf5f4af660e94b5a0b09003.zip
Improve documentation of portable dumping
* src/pdumper.c (Fdump_emacs_portable): Improve the doc string and the error messages. * doc/lispref/internals.texi (Building Emacs): Document portable dumping and the 'dump-emacs-portable' function.
Diffstat (limited to 'src')
-rw-r--r--src/pdumper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index db66e1ba26b..cd242f7dc9f 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -4033,7 +4033,7 @@ dump_drain_deferred_symbols (struct dump_context *ctx)
4033DEFUN ("dump-emacs-portable", 4033DEFUN ("dump-emacs-portable",
4034 Fdump_emacs_portable, Sdump_emacs_portable, 4034 Fdump_emacs_portable, Sdump_emacs_portable,
4035 1, 2, 0, 4035 1, 2, 0,
4036 doc: /* Dump current state of Emacs into dump file FILENAME. 4036 doc: /* Dump current state of Emacs into portable dump file FILENAME.
4037If TRACK-REFERRERS is non-nil, keep additional debugging information 4037If TRACK-REFERRERS is non-nil, keep additional debugging information
4038that can help track down the provenance of unsupported object 4038that can help track down the provenance of unsupported object
4039types. */) 4039types. */)
@@ -4048,10 +4048,10 @@ types. */)
4048 "unexpected results."); 4048 "unexpected results.");
4049 4049
4050 if (!main_thread_p (current_thread)) 4050 if (!main_thread_p (current_thread))
4051 error ("Function can be called only on main thread"); 4051 error ("This function can be called only in the main thread");
4052 4052
4053 if (!NILP (XCDR (Fall_threads ()))) 4053 if (!NILP (XCDR (Fall_threads ())))
4054 error ("No other threads can be running"); 4054 error ("No other Lisp threads can be running when this function is called");
4055 4055
4056 /* Clear out any detritus in memory. */ 4056 /* Clear out any detritus in memory. */
4057 do { 4057 do {