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

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 3 Oct 2008 17:30:02 UTC

Severity: normal

Tags: moreinfo

Merged with 670

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Eli Zaretskii'" <eliz <at> gnu.org>, "'martin rudalics'" <rudalics <at> gmx.at>
Cc: 1077 <at> debbugs.gnu.org
Subject: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil)
Date: Mon, 29 Nov 2010 13:33:00 -0800
>  (define-key menu-bar-showhide-menu [menu-bar-mode]
>    `(menu-item ,(purecopy "Menu-bar") toggle-menu-bar-mode-from-frame
>  	      :help ,(purecopy "Turn menu-bar on/off")
> -	      :button (:toggle . (> (frame-parameter nil 'menu-bar-lines) 0))))
> +	      :button (:toggle . (> (frame-parameter (or menu-updating-frame
> +
(selected-frame))
> +
'menu-bar-lines) 0))))

Ignore if this makes no sense; I'm not following the details of this, and I'm
ignorant about menu-updating-frame.

Can menu-updating-frame be nil?  In that case, don't we get the same error/bug?





This bug report was last modified 14 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.