emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multi-tty suspend-hook


From: Dan Nicolaescu
Subject: multi-tty suspend-hook
Date: Sun, 27 Jan 2008 09:55:27 -0800

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]