* emacs.c (main): Don't chdir to $HOME on Cocoa if --chdir was given.
* lisp/emulation/cua-base.el (cua-delete-region): Use delete-active-region.
(cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.