diff lisp/frame.el @ 3547:dd935ef485d2

[xemacs-hg @ 2006-08-06 22:14:08 by aidan] gnuclient bug on Ben's part.
author aidan
date Sun, 06 Aug 2006 22:14:10 +0000
parents fd1acd2f457a
children e3cad3fd1be4
line wrap: on
line diff
--- a/lisp/frame.el	Sun Aug 06 21:51:02 2006 +0000
+++ b/lisp/frame.el	Sun Aug 06 22:14:10 2006 +0000
@@ -1548,7 +1548,12 @@
     (setq iconification-data (cdr iconification-data))))
 
 (defun suspend-or-iconify-emacs ()
-  "Call iconify-emacs if using a window system, otherwise suspend Emacs."
+  "Call iconify-emacs if using a window system, otherwise suspend.
+
+`suspend' here can mean different things; if the current TTY console was
+created by gnuclient, that console is suspended, and the related devices and
+frames are removed from the display.  Otherwise the Emacs process as a whole
+is suspended--that is, the traditional Unix suspend takes place.  "
   (interactive)
   (cond ((device-on-window-system-p)
 	 (iconify-emacs))
@@ -1564,7 +1569,12 @@
 ;; different things depending on window-system.  We can't do the same,
 ;; because we allow simultaneous X and TTY consoles.
 (defun suspend-emacs-or-iconify-frame ()
-  "Iconify the selected frame if using a window system, otherwise suspend Emacs."
+  "Iconify the selected frame if using a window system, otherwise suspend.
+
+`suspend' here can mean different things; if the current TTY console was
+created by gnuclient, the console is suspended, and the related devices and
+frames are removed from the display.  Otherwise the Emacs process as a whole
+is suspended--that is, the traditional Unix suspend takes place.  "
   (interactive)
   (cond ((device-on-window-system-p)
 	 (iconify-frame))