Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e29f86e4
Commit
e29f86e4
authored
Jun 13, 1994
by
Richard M. Stallman
Browse files
(init_cmdargs): Set up initial_argv, initial_argc.
parent
a69a8ca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/emacs.c
src/emacs.c
+7
-0
No files found.
src/emacs.c
View file @
e29f86e4
...
...
@@ -128,6 +128,10 @@ int noninteractive;
but nothing terrible happens if user sets this one. */
int
noninteractive1
;
/* Save argv and argc. */
char
**
initial_argv
;
int
initial_argc
;
/* Signal code for the fatal signal that was received */
int
fatal_error_code
;
...
...
@@ -192,6 +196,9 @@ init_cmdargs (argc, argv, skip_args)
register
int
i
;
Lisp_Object
name
,
dir
;
initial_argv
=
argv
;
initial_argc
=
argc
;
Vinvocation_name
=
Ffile_name_nondirectory
(
build_string
(
argv
[
0
]));
Vinvocation_directory
=
Ffile_name_directory
(
build_string
(
argv
[
0
]));
/* If we got no directory in argv[0], search PATH to find where
...
...
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