summaryrefslogtreecommitdiff
path: root/lisp/term/x-win.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-04-11 00:02:28 -0700
committerGlenn Morris <rgm@gnu.org>2014-04-11 00:02:28 -0700
commitfd492166113d8023d65b72b7db8b5d308bcc262d (patch)
tree67e2a65748e9c2c1df247c65964d0b7f1dac63a5 /lisp/term/x-win.el
parent9b1ac3be88fab32c29c1bd53a8d5eedd81a49cad (diff)
downloademacs-fd492166113d8023d65b72b7db8b5d308bcc262d.tar.gz
Doc fix for x-win-suspend-error
* lisp/term/w32-win.el (x-win-suspend-error): * lisp/term/x-win.el (x-win-suspend-error): Sync docs.
Diffstat (limited to 'lisp/term/x-win.el')
-rw-r--r--lisp/term/x-win.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 6ba348d8c79..964b9112553 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1326,6 +1326,8 @@ Request data types in the order specified by `x-select-request-type'."
;;; Window system initialization.
(defun x-win-suspend-error ()
+ "Report an error when a suspend is attempted.
+This returns an error if any Emacs frames are X frames, or always under W32."
;; Don't allow suspending if any of the frames are X frames.
(if (memq 'x (mapcar 'window-system (frame-list)))
(error "Cannot suspend Emacs while running under X")))