diff options
| author | Gerd Moellmann | 2001-03-14 14:40:22 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-14 14:40:22 +0000 |
| commit | 03390a729930f0f1b6885843ccb0c0f5d35543a7 (patch) | |
| tree | 7c1b3acfe82a1b5e2892546556f648461b5737e3 /src | |
| parent | d08947c532ace0bb8f76ecbcf232cba8171d16b3 (diff) | |
| download | emacs-03390a729930f0f1b6885843ccb0c0f5d35543a7.tar.gz emacs-03390a729930f0f1b6885843ccb0c0f5d35543a7.zip | |
(Fframe_parameters): In the `buffer-list' frame
parameter, store the buffer list of FRAME, not the list of the
selected frame.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c index 0cc5035737a..44f14187305 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1950,7 +1950,7 @@ If FRAME is omitted, return information on the currently selected frame.") | |||
| 1950 | int height, width; | 1950 | int height, width; |
| 1951 | struct gcpro gcpro1; | 1951 | struct gcpro gcpro1; |
| 1952 | 1952 | ||
| 1953 | if (EQ (frame, Qnil)) | 1953 | if (NILP (frame)) |
| 1954 | frame = selected_frame; | 1954 | frame = selected_frame; |
| 1955 | 1955 | ||
| 1956 | CHECK_FRAME (frame, 0); | 1956 | CHECK_FRAME (frame, 0); |
| @@ -2016,8 +2016,7 @@ If FRAME is omitted, return information on the currently selected frame.") | |||
| 2016 | : FRAME_MINIBUF_ONLY_P (f) ? Qonly | 2016 | : FRAME_MINIBUF_ONLY_P (f) ? Qonly |
| 2017 | : FRAME_MINIBUF_WINDOW (f))); | 2017 | : FRAME_MINIBUF_WINDOW (f))); |
| 2018 | store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); | 2018 | store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); |
| 2019 | store_in_alist (&alist, Qbuffer_list, | 2019 | store_in_alist (&alist, Qbuffer_list, frame_buffer_list (frame)); |
| 2020 | frame_buffer_list (selected_frame)); | ||
| 2021 | 2020 | ||
| 2022 | /* I think this should be done with a hook. */ | 2021 | /* I think this should be done with a hook. */ |
| 2023 | #ifdef HAVE_WINDOW_SYSTEM | 2022 | #ifdef HAVE_WINDOW_SYSTEM |