From: YAMAMOTO Mitsuharu Date: Wed, 23 Nov 2005 07:19:59 +0000 (+0000) Subject: Don't change default directory. X-Git-Tag: emacs-pretest-22.0.90~5708 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d83c94d20b47c3284ee43e0a7c0e33d685fe97c;p=emacs.git Don't change default directory. --- diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index 88d6ef7da2c..c15e0d7e1e5 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el @@ -1962,10 +1962,10 @@ Switch to a buffer editing the last file dropped." 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.