]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmake_frame_visible): Use FRAME_SAMPLE_VISIBILITY. Doc fix.
authorRichard M. Stallman <rms@gnu.org>
Mon, 22 Nov 1993 03:08:40 +0000 (03:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 22 Nov 1993 03:08:40 +0000 (03:08 +0000)
src/frame.c

index d63a4726047da130a1080d5f154cfc4439f6fe08..9e93d9c1cca999b8c52a80408ef9d1d5c0273523 100644 (file)
@@ -837,7 +837,6 @@ WARNING:  If you use this under X, you should do `unfocus-frame' afterwards.")
 DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible,
        0, 1, "",
   "Make the frame FRAME visible (assuming it is an X-window).\n\
-Also raises the frame so that nothing obscures it.\n\
 If omitted, FRAME defaults to the currently selected frame.")
   (frame)
      Lisp_Object frame;
@@ -850,7 +849,10 @@ If omitted, FRAME defaults to the currently selected frame.")
   /* I think this should be done with a hook.  */
 #ifdef HAVE_X_WINDOWS
   if (FRAME_X_P (XFRAME (frame)))
-    x_make_frame_visible (XFRAME (frame));
+    {
+      FRAME_SAMPLE_VISIBILITY (XFRAME (frame));
+      x_make_frame_visible (XFRAME (frame));
+    }
 #endif
 
   return frame;