]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fframe_parameters): Don't handle menu-bar-lines explicitly.
authorRichard M. Stallman <rms@gnu.org>
Sat, 25 Jun 1994 17:54:57 +0000 (17:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 25 Jun 1994 17:54:57 +0000 (17:54 +0000)
src/frame.c

index 5face5086a9e85387a9cd47476f3a6760afa9cb3..569b0622c7d88fc58309142d45da1fb039e08ad0 100644 (file)
@@ -1369,7 +1369,12 @@ 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, Qmenu_bar_lines, (FRAME_MENU_BAR_LINES (f)));
+#if 0 /* This ought to be correct in f->param_alist.  */
+  store_in_alist (&alist, Qmenu_bar_lines,
+                 (FRAME_MENU_BAR_LINES (f)
+                  ? FRAME_MENU_BAR_LINES (f)
+                  : FRAME_EXTERNAL_MENU_BAR (f)));
+#endif
 
   /* I think this should be done with a hook.  */
 #ifdef HAVE_X_WINDOWS