emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/emacs.c


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/src/emacs.c
Date: Wed, 23 Nov 2005 02:19:03 -0500

Index: emacs/src/emacs.c
diff -c emacs/src/emacs.c:1.379 emacs/src/emacs.c:1.380
*** emacs/src/emacs.c:1.379     Wed Oct 19 16:53:31 2005
--- emacs/src/emacs.c   Wed Nov 23 07:19:03 2005
***************
*** 962,970 ****
  
  #ifdef MAC_OSX
    /* Skip process serial number passed in the form -psn_x_y as
!      command-line argument.  */
    if (argc > skip_args + 1 && strncmp (argv[skip_args+1], "-psn_", 5) == 0)
!     skip_args++;
  #endif /* MAC_OSX */
  
  #ifdef VMS
--- 962,976 ----
  
  #ifdef MAC_OSX
    /* Skip process serial number passed in the form -psn_x_y as
!      command-line argument.  The WindowServer adds this option when
!      Emacs is invoked from the Finder or by the `open' command.  In
!      these cases, the working directory becomes `/', so we change it
!      to the user's home directory.  */
    if (argc > skip_args + 1 && strncmp (argv[skip_args+1], "-psn_", 5) == 0)
!     {
!       chdir (getenv ("HOME"));
!       skip_args++;
!     }
  #endif /* MAC_OSX */
  
  #ifdef VMS




reply via email to

[Prev in Thread] Current Thread [Next in Thread]