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
95889848
Commit
95889848
authored
Aug 05, 2008
by
Adrian Robert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
emacs.c (main): Under NS, set working dir to HOME when get a 'psn' argument.
parent
3d0a4431
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
src/ChangeLog
src/ChangeLog
+1
-1
src/emacs.c
src/emacs.c
+2
-3
No files found.
src/ChangeLog
View file @
95889848
2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com>
* emacs.c (main): Under NS, set working dir to
$
HOME when get a "psn"
* emacs.c (main): Under NS, set working dir to HOME when get a "psn"
argument.
2008-08-05 Juanma Barranquero <lekktu@gmail.com>
...
...
src/emacs.c
View file @
95889848
...
...
@@ -1337,10 +1337,9 @@ main (int argc, char **argv)
skip_args
+=
1
;
chdir
(
getenv
(
"HOME"
));
}
else
else
if
(
skip_args
+
1
<
argc
&&
!
strncmp
(
argv
[
skip_args
+
1
],
"-psn"
,
4
))
{
if
(
skip_args
+
1
<
argc
&&
!
strncmp
(
argv
[
skip_args
+
1
],
"-psn"
,
4
))
skip_args
+=
2
;
skip_args
+=
2
;
chdir
(
getenv
(
"HOME"
));
}
}
...
...
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