Use emacs client instead of emacs.