Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1b7ddf4f
Commit
1b7ddf4f
authored
Jun 23, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fdump_emacs): Bind command-line-processed to nil here.
parent
87a98b1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
src/emacs.c
src/emacs.c
+9
-5
No files found.
src/emacs.c
View file @
1b7ddf4f
...
...
@@ -1486,20 +1486,24 @@ DEFUN ("dump-emacs", Fdump_emacs, Sdump_emacs, 2, 2, 0,
Take symbols from SYMFILE (presumably the file you executed to run Emacs).
\n
\
This is used in the file `loadup.el' when building Emacs.
\n
\
\n
\
Bind `command-line-processed' to nil before dumping,
\n
\
if you want the dumped Emacs to process its command line
\n
\
and announce itself normally when it is run.
\n
\
\n
\
You must run Emacs in batch mode in order to dump it."
)
(
filename
,
symfile
)
Lisp_Object
filename
,
symfile
;
{
extern
char
my_edata
[];
Lisp_Object
tem
;
Lisp_Object
symbol
;
int
count
=
specpdl_ptr
-
specpdl
;
if
(
!
noninteractive
)
error
(
"Dumping Emacs works only in batch mode"
);
/* Bind `command-line-processed' to nil before dumping,
so that the dumped Emacs will process its command line
and set up to work with X windows if appropriate. */
symbol
=
intern
(
"command-line-process"
);
specbind
(
symbol
,
Qnil
);
CHECK_STRING
(
filename
,
0
);
filename
=
Fexpand_file_name
(
filename
,
Qnil
);
if
(
!
NILP
(
symfile
))
...
...
@@ -1545,7 +1549,7 @@ You must run Emacs in batch mode in order to dump it.")
Vpurify_flag
=
tem
;
return
Qnil
;
return
unbind_to
(
count
,
Qnil
)
;
}
#endif
/* not HAVE_SHM */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment