]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fframe_parameters): In the `buffer-list' frame
authorGerd Moellmann <gerd@gnu.org>
Wed, 14 Mar 2001 14:40:22 +0000 (14:40 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 14 Mar 2001 14:40:22 +0000 (14:40 +0000)
parameter, store the buffer list of FRAME, not the list of the
selected frame.

src/frame.c

index 0cc5035737aa2608dd4c81be8587e3e208ae0a2f..44f14187305f55c1a9c97a94bc37c577c8ab18bb 100644 (file)
@@ -1950,7 +1950,7 @@ If FRAME is omitted, return information on the currently selected frame.")
   int height, width;
   struct gcpro gcpro1;
 
-  if (EQ (frame, Qnil))
+  if (NILP (frame))
     frame = selected_frame;
 
   CHECK_FRAME (frame, 0);
@@ -2016,8 +2016,7 @@ If FRAME is omitted, return information on the currently selected frame.")
                   : FRAME_MINIBUF_ONLY_P (f) ? Qonly
                   : FRAME_MINIBUF_WINDOW (f)));
   store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil));
-  store_in_alist (&alist, Qbuffer_list,
-                 frame_buffer_list (selected_frame));
+  store_in_alist (&alist, Qbuffer_list, frame_buffer_list (frame));
 
   /* I think this should be done with a hook.  */
 #ifdef HAVE_WINDOW_SYSTEM