Commit 95889848 authored by Adrian Robert's avatar Adrian Robert

emacs.c (main): Under NS, set working dir to HOME when get a 'psn' argument.

parent 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"
* emacs.c (main): Under NS, set working dir to HOME when get a "psn"
argument.
2008-08-05 Juanma Barranquero <lekktu@gmail.com>
......
......@@ -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"));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment