* emacs.c (main): On Cocoa, if GUI session and 0 is not a tty,
chdir to HOME.

Conflicts:
	src/ChangeLog
	src/emacs.c