# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1132730399 0 # Node ID a9abf9b53bef867aed6bababc6e6c5fd886417c8 # Parent 3eac7486ff05804837908148fd4c3006fe920b1b Don't change default directory. diff -r 3eac7486ff05 -r a9abf9b53bef lisp/term/mac-win.el --- 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.