changeset 67090:a9abf9b53bef

Don't change default directory.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 23 Nov 2005 07:19:59 +0000
parents 3eac7486ff05
children 0f5d07998803
files lisp/term/mac-win.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/mac-win.el	Wed Nov 23 07:19:24 2005 +0000
+++ b/lisp/term/mac-win.el	Wed Nov 23 07:19:59 2005 +0000
@@ -1962,10 +1962,10 @@
 	       user-login-name user-real-login-name user-full-name))
     (set v (decode-coding-string (symbol-value v) mac-system-coding-system))))
 
-;; If Emacs is started from the Finder, change the default directory
-;; to the user's home directory.
-(if (string= default-directory "/")
-    (cd "~"))
+;; Now the default directory is changed to the user's home directory
+;; in emacs.c if invoked from the WindowServer (with -psn_* option).
+;; (if (string= default-directory "/")
+;;     (cd "~"))
 
 ;; Darwin 6- pty breakage is now controlled from the C code so that
 ;; it applies to all builds on darwin.  See s/darwin.h PTY_ITERATION.