* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
This commit is contained in:
parent
47f58d8500
commit
26ca887092
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue