Commit 26ca8870 authored by Jan Djärv's avatar Jan Djärv

* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).

parent 47f58d85
2013-10-31 Jan Djärv <jan.h.d@swipnet.se>
* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
2013-10-31 Glenn Morris <rgm@gnu.org>
* emacs.c (original_pwd): New char.
......
......@@ -1201,7 +1201,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
chdir fails. */
if (! inhibit_window_system && ! isatty (0))
chdir (getenv ("HOME"));
else if (skip_args < argc)
if (skip_args < argc)
{
if (!strncmp (argv[skip_args], "-psn", 4))
{
......
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