changeset 36804:e4331ae9636d

(Fframe_parameters): In the `buffer-list' frame parameter, store the buffer list of FRAME, not the list of the selected frame.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 14 Mar 2001 14:40:22 +0000
parents 4b1f1bdaf676
children a7747c7ba014
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Wed Mar 14 14:00:42 2001 +0000
+++ b/src/frame.c	Wed Mar 14 14:40:22 2001 +0000
@@ -1950,7 +1950,7 @@
   int height, width;
   struct gcpro gcpro1;
 
-  if (EQ (frame, Qnil))
+  if (NILP (frame))
     frame = selected_frame;
 
   CHECK_FRAME (frame, 0);
@@ -2016,8 +2016,7 @@
 		   : 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