* emacs.c (main): Don't chdir to $HOME on Cocoa if --chdir was given.

Conflicts:
	src/ChangeLog
Fix bug #18856 with failure to fontify compilation buffers.

 lisp/progmodes/compile.el (compilation-mode): Turn off deferred
 fontifications locally.

Conflicts:
	lisp/ChangeLog
Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
progmodes/cc-fonts.el (c-font-lock-declarations): Pass "(point-max)" as
bound to c-font-lock-declarators, not "limit", as the buffer is sometimes
narrowed to less than "limit" (e.g., in the presence of macros).

Conflicts:
	lisp/ChangeLog