diff options
| -rw-r--r-- | src/frame.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/frame.c b/src/frame.c index c658885bb9a..4d2def98441 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1403,18 +1403,15 @@ If FRAME is omitted, return information on the currently selected frame.") | |||
| 1403 | : FRAME_MINIBUF_ONLY_P (f) ? Qonly | 1403 | : FRAME_MINIBUF_ONLY_P (f) ? Qonly |
| 1404 | : FRAME_MINIBUF_WINDOW (f))); | 1404 | : FRAME_MINIBUF_WINDOW (f))); |
| 1405 | store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); | 1405 | store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); |
| 1406 | #if 0 /* This ought to be correct in f->param_alist. */ | ||
| 1407 | store_in_alist (&alist, Qmenu_bar_lines, | ||
| 1408 | (FRAME_MENU_BAR_LINES (f) | ||
| 1409 | ? FRAME_MENU_BAR_LINES (f) | ||
| 1410 | : FRAME_EXTERNAL_MENU_BAR (f))); | ||
| 1411 | #endif | ||
| 1412 | 1406 | ||
| 1413 | /* I think this should be done with a hook. */ | 1407 | /* I think this should be done with a hook. */ |
| 1414 | #ifdef HAVE_X_WINDOWS | 1408 | #ifdef HAVE_X_WINDOWS |
| 1415 | if (FRAME_X_P (f)) | 1409 | if (FRAME_X_P (f)) |
| 1416 | x_report_frame_params (f, &alist); | 1410 | x_report_frame_params (f, &alist); |
| 1411 | else | ||
| 1417 | #endif | 1412 | #endif |
| 1413 | /* This ought to be correct in f->param_alist for an X frame. */ | ||
| 1414 | store_in_alist (&alist, Qmenu_bar_lines, FRAME_MENU_BAR_LINES (f)); | ||
| 1418 | return alist; | 1415 | return alist; |
| 1419 | } | 1416 | } |
| 1420 | 1417 | ||