]> git.eshelyaron.com Git - emacs.git/commit
Improve documentation of pdumper; minor code cleanup
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Jan 2019 15:55:53 +0000 (17:55 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Jan 2019 15:55:53 +0000 (17:55 +0200)
commitebd174e218f46e2d3e30646a8426f6ec1ae9e8d1
treed0b88ce3b9538920d5f495e3c86503b259baaf71
parente96a54eb3bdfd75bafbe795ec6dd7b94ff65b8ac
Improve documentation of pdumper; minor code cleanup

* src/emacs.c (usage_message): Add the --dump-file option.
(string_starts_with_p, find_argument): Functions removed; use
'argmatch' instead.
(PDUMP_FILE_ARG): Macro removed; use literal strings instead,
as with other command-line options.  Use HAVE_PDUMPER for cpp
conditionals which used PDUMP_FILE_ARG.
(load_pdump, main): Use 'argmatch' for "--dump-file" and
"--temacs" arguments, thus supporting the "-dump-file" and
"-temacs" variants, for consistency with other options.
(main): Remove the extra fatal error for using --dump-file in
unexec'ed Emacs: load_pdump does that anyway.
(standard_args): Add --dump-file and --temacs, with
appropriate priorities.

* etc/NEWS: Expand on the pdumper support.

* doc/emacs/cmdargs.texi (Initial Options): Document the
'--dump-file' command-line option.
doc/emacs/cmdargs.texi
etc/NEWS
src/emacs.c