Mercurial > emacs
diff src/frame.c @ 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 | 20b42ba5a623 |
| children | a9485f8e43d6 |
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
