]> git.eshelyaron.com Git - emacs.git/commitdiff
Doc fix for x-win-suspend-error
authorGlenn Morris <rgm@gnu.org>
Fri, 11 Apr 2014 07:02:28 +0000 (00:02 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 11 Apr 2014 07:02:28 +0000 (00:02 -0700)
* lisp/term/w32-win.el (x-win-suspend-error):
* lisp/term/x-win.el (x-win-suspend-error): Sync docs.

lisp/ChangeLog
lisp/term/w32-win.el
lisp/term/x-win.el

index 94cfda082ea1a982885f1b5fae447deba56cab1b..9a9d422e8b0c59978cc4c7783f5648245a65818a 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-11  Glenn Morris  <rgm@gnu.org>
+
+       * term/w32-win.el (x-win-suspend-error):
+       * term/x-win.el (x-win-suspend-error): Sync docs.
+
 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        Ediff's overlay priorities cause more trouble than they solve.
index 96cf0838cb280eb56aeee251b61c81ead00edb21..e2cabe5397da46855a9b982e760103c4f5aee2c6 100644 (file)
@@ -206,7 +206,8 @@ European languages which are distributed with Windows as
 See the documentation of `create-fontset-from-fontset-spec' for the format.")
 
 (defun x-win-suspend-error ()
-  "Report an error when a suspend is attempted."
+  "Report an error when a suspend is attempted.
+This returns an error if any Emacs frames are X frames, or always under W32."
   (error "Suspending an Emacs running under W32 makes no sense"))
 
 (defvar dynamic-library-alist)
index 6ba348d8c79ffb8c34087947ac5acace281a2027..964b91125539d283dca957d2bc9d59a6c03cb89b 100644 (file)
@@ -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")))