aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-11-23 07:19:59 +0000
committerYAMAMOTO Mitsuharu2005-11-23 07:19:59 +0000
commit0d83c94d20b47c3284ee43e0a7c0e33d685fe97c (patch)
treef9bc97896a3021d59d480d08950cb0772e7b39de
parent836d66d3cab5b5e80bccf74f946aba8c34a146aa (diff)
downloademacs-0d83c94d20b47c3284ee43e0a7c0e33d685fe97c.tar.gz
emacs-0d83c94d20b47c3284ee43e0a7c0e33d685fe97c.zip
Don't change default directory.
-rw-r--r--lisp/term/mac-win.el8
1 files changed, 4 insertions, 4 deletions
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."
1962 user-login-name user-real-login-name user-full-name)) 1962 user-login-name user-real-login-name user-full-name))
1963 (set v (decode-coding-string (symbol-value v) mac-system-coding-system)))) 1963 (set v (decode-coding-string (symbol-value v) mac-system-coding-system))))
1964 1964
1965;; If Emacs is started from the Finder, change the default directory 1965;; Now the default directory is changed to the user's home directory
1966;; to the user's home directory. 1966;; in emacs.c if invoked from the WindowServer (with -psn_* option).
1967(if (string= default-directory "/") 1967;; (if (string= default-directory "/")
1968 (cd "~")) 1968;; (cd "~"))
1969 1969
1970;; Darwin 6- pty breakage is now controlled from the C code so that 1970;; Darwin 6- pty breakage is now controlled from the C code so that
1971;; it applies to all builds on darwin. See s/darwin.h PTY_ITERATION. 1971;; it applies to all builds on darwin. See s/darwin.h PTY_ITERATION.