Commit 3d0a4431 authored by Adrian Robert's avatar Adrian Robert

set working dir to /Users/arobert under NS when psn argument given

parent d765e3a3
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>:
......
......@@ -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
......
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