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>
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"));
}
}