/[emacs]/emacs/src/emacs.c
ViewVC logotype

Diff of /emacs/src/emacs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.379 by rfrancoise, Wed Oct 19 16:53:31 2005 UTC revision 1.380 by mituharu, Wed Nov 23 07:19:03 2005 UTC
# Line 962  main (argc, argv Line 962  main (argc, argv
962    
963  #ifdef MAC_OSX  #ifdef MAC_OSX
964    /* Skip process serial number passed in the form -psn_x_y as    /* Skip process serial number passed in the form -psn_x_y as
965       command-line argument.  */       command-line argument.  The WindowServer adds this option when
966         Emacs is invoked from the Finder or by the `open' command.  In
967         these cases, the working directory becomes `/', so we change it
968         to the user's home directory.  */
969    if (argc > skip_args + 1 && strncmp (argv[skip_args+1], "-psn_", 5) == 0)    if (argc > skip_args + 1 && strncmp (argv[skip_args+1], "-psn_", 5) == 0)
970      skip_args++;      {
971          chdir (getenv ("HOME"));
972          skip_args++;
973        }
974  #endif /* MAC_OSX */  #endif /* MAC_OSX */
975    
976  #ifdef VMS  #ifdef VMS

Legend:
Removed from v.1.379  
changed lines
  Added in v.1.380

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26