Subject: bug#1077: bug#670: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil)

From: Eli Zaretskii <[email-masked]>
Date: Sun, 28 Nov 2010 08:41:24 -0500

> Date: Sun, 28 Nov 2010 10:50:50 +0100
> From: martin rudalics <[email-masked]>
> CC: Drew Adams <[email-masked]>, [email-masked]
> 
>  > It must be some Lisp code, called directly or indirectly by
>  > x-create-frame.
> 
> The menu-bar-lines indications appear inconsistent for stand-alone
> minibuffer frames.  If I do
> 
> (let ((frame (make-frame '((minibuffer . only)))))
>    (frame-parameter frame 'menu-bar-lines))
> 
> the frame I create doesn't have a menubar but the frame parameter says
> there's one such line.

Can you see how this inconsistency could explain the (> nil 0) thing
that burps?  When there's no menubar, the menu-bar-lines parameter
should be zero, not nil, right?