]> git.eshelyaron.com Git - emacs.git/commitdiff
* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 31 Oct 2013 08:32:42 +0000 (09:32 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 31 Oct 2013 08:32:42 +0000 (09:32 +0100)
src/ChangeLog
src/emacs.c

index 64d7ea5c1817bbf9aee9545e66490de812313938..0c76b176a1fb00b6dfce248b8f694c24764875ba 100644 (file)
@@ -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.
index e2b47bddb32b417713464549d526dfb79d872917..92b52f1cea6a87f219019603b5dbdbeff5af1b04 100644 (file)
@@ -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))
             {