]> git.eshelyaron.com Git - emacs.git/commitdiff
* frame.c (Fmake_frame_invisible, Fframe_visible_p): Doc fix
authorChong Yidong <cyd@stupidchicken.com>
Sat, 31 Oct 2009 17:12:13 +0000 (17:12 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 31 Oct 2009 17:12:13 +0000 (17:12 +0000)
(Bug#4827).

src/ChangeLog
src/frame.c

index a291d8c1e9c9ea4f9f6abda8b43563e2dda32fad..3c82211c553adfa84b6dd5a60732594b8e521189 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (Fmake_frame_invisible, Fframe_visible_p): Doc fix
+       (Bug#4827).
+
 2009-10-30  Eli Zaretskii  <eliz@gnu.org>
 
        * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Redefine to waste less pure
index 90309a33d8b202fd5c927e3f02f53a9582cc3f41..2884c16c551e5e662b351448be9e154cd095f98e 100644 (file)
@@ -1880,10 +1880,17 @@ make_frame_visible_1 (window)
 
 DEFUN ("make-frame-invisible", Fmake_frame_invisible, Smake_frame_invisible,
        0, 2, "",
-       doc: /* Make the frame FRAME invisible (assuming it is an X window).
+       doc: /* Make the frame FRAME invisible.
 If omitted, FRAME defaults to the currently selected frame.
+On graphical displays, invisible frames are not updated and are
+usually not displayed at all, even in a window system's \"taskbar\".
+
 Normally you may not make FRAME invisible if all other frames are invisible,
-but if the second optional argument FORCE is non-nil, you may do so.  */)
+but if the second optional argument FORCE is non-nil, you may do so.
+
+This function has no effect on text-only terminal frames.  Such frames
+are always considered visible, whether or not they are currently being
+displayed in the terminal.  */)
   (frame, force)
      Lisp_Object frame, force;
 {
@@ -1963,14 +1970,15 @@ If omitted, FRAME defaults to the currently selected frame.  */)
 
 DEFUN ("frame-visible-p", Fframe_visible_p, Sframe_visible_p,
        1, 1, 0,
-       doc: /* Return t if FRAME is now \"visible\" (actually in use for display).
-A frame that is not \"visible\" is not updated and, if it works through
-a window system, it may not show at all.
-Return the symbol `icon' if frame is visible only as an icon.
-
-On a text-only terminal, all frames are considered visible, whether
-they are currently being displayed or not, and this function returns t
-for all frames.  */)
+       doc: /* Return t if FRAME is \"visible\" (actually in use for display).
+Return the symbol `icon' if FRAME is iconified or \"minimized\".
+Return nil if FRAME was made invisible, via `make-frame-invisible'.
+On graphical displays, invisible frames are not updated and are
+usually not displayed at all, even in a window system's \"taskbar\".
+
+If FRAME is a text-only terminal frame, this always returns t.
+Such frames are always considered visible, whether or not they are
+currently being displayed on the terminal.  */)
      (frame)
      Lisp_Object frame;
 {