Fix suspend-frame on the controlling tty (reported by Dan Nicolaescu).
authorKaroly Lorentey <lorentey@elte.hu>
Sat, 10 Jul 2004 21:21:04 +0000 (21:21 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sat, 10 Jul 2004 21:21:04 +0000 (21:21 +0000)
commit4a933ef8f05e3e0dd3c5a201468e35753a430cc8
treef84032e30ae16dd1e273ac136e543b47e09bfe4a
parentc5b0a355298aba2872635de196204c0030e09996
Fix suspend-frame on the controlling tty (reported by Dan Nicolaescu).

* src/term.c (Fdisplay_controlling_tty_p): New function.

* src/term.c (syms_of_term): Initialize Sdisplay_controlling_tty_p.

* lisp/frame.el (suspend-frame): Use display-controlling-tty-p to decide
  between suspend-emacs and suspend-tty.

* src/keyboard.c (Fsuspend_emacs): Give a better error message when
  there are multiple open tty devices.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-213
lisp/frame.el
src/keyboard.c
src/term.c