all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* multi-tty suspend-hook
@ 2008-01-27 17:55 Dan Nicolaescu
  0 siblings, 0 replies; only message in thread
From: Dan Nicolaescu @ 2008-01-27 17:55 UTC (permalink / raw)
  To: emacs-devel


emacs -q -nw -f server-start

use emacsclient to create an X11 frame. This runs
x-initialize-window-system which does
  (add-hook 'suspend-hook 'x-win-suspend-error)

Quit the X11 frame and press C-z in the original tty frame.  It thows an
error: "Suspending an Emacs running under X makes no sense"
Which makes no sense (:-), there's no X frame running at this time.

Adding a check in x-win-suspend-error to check if the frame is x fixes
this. But is this TRTD?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-27 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-27 17:55 multi-tty suspend-hook Dan Nicolaescu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.