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