emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/frame.c,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/frame.c,v
Date: Wed, 29 Aug 2007 21:47:40 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        07/08/29 21:47:40

Index: frame.c
===================================================================
RCS file: /sources/emacs/emacs/src/frame.c,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -b -r1.344 -r1.345
--- frame.c     29 Aug 2007 05:27:53 -0000      1.344
+++ frame.c     29 Aug 2007 21:47:40 -0000      1.345
@@ -625,7 +625,7 @@
     FRAME_VERTICAL_SCROLL_BAR_TYPE (f) = vertical_scroll_bar_none;
 
     /* Set the top frame to the newly created frame. */
-    if (FRAME_TTY (f)->top_frame
+    if (FRAMEP (FRAME_TTY (f)->top_frame)
         && FRAME_LIVE_P (XFRAME (FRAME_TTY (f)->top_frame)))
       XFRAME (FRAME_TTY (f)->top_frame)->async_visible = 2; /* obscured */
     
@@ -2613,6 +2613,7 @@
            call1 (Qframe_set_background_mode, frame);
        }
     }
+  return Qnil;
 }
 
 DEFUN ("frame-with-environment", Fframe_with_environment, 
Sframe_with_environment, 0, 1, 0,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]