Commit 0d83c94d authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

Don't change default directory.

parent 836d66d3
...@@ -1962,10 +1962,10 @@ Switch to a buffer editing the last file dropped." ...@@ -1962,10 +1962,10 @@ Switch to a buffer editing the last file dropped."
user-login-name user-real-login-name user-full-name)) user-login-name user-real-login-name user-full-name))
(set v (decode-coding-string (symbol-value v) mac-system-coding-system)))) (set v (decode-coding-string (symbol-value v) mac-system-coding-system))))
;; If Emacs is started from the Finder, change the default directory ;; Now the default directory is changed to the user's home directory
;; to the user's home directory. ;; in emacs.c if invoked from the WindowServer (with -psn_* option).
(if (string= default-directory "/") ;; (if (string= default-directory "/")
(cd "~")) ;; (cd "~"))
;; Darwin 6- pty breakage is now controlled from the C code so that ;; 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. ;; it applies to all builds on darwin. See s/darwin.h PTY_ITERATION.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment