Fix emacsclient/server behavior under --without-x.
authorChong Yidong <cyd@gnu.org>
Fri, 20 Apr 2012 10:37:57 +0000 (18:37 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 20 Apr 2012 10:37:57 +0000 (18:37 +0800)
commit2d0e8e614a6744a6a33c6b519f20359802e75c2b
tree1dfade2f2a21b73ee7f195c6e7e1e2f0a4c43543
parentde6ff46dce80a715d46c34ff46f01a28afb63db9
Fix emacsclient/server behavior under --without-x.

* lib-src/emacsclient.c (main): Send -tty to Emacs under more circumstanced (Bug#8314).

* lisp/server.el (server-process-filter): Only try to open a window
system frame if compiled with graphical support (Bug#8314).

Fixes: debbugs:11102
lib-src/ChangeLog
lib-src/emacsclient.c
lisp/ChangeLog
lisp/server.el