help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about menu-bar-mode


From: Stefan Monnier
Subject: Re: question about menu-bar-mode
Date: Mon, 01 Mar 2010 10:50:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

> I met a problem when writing emacs lisp. My question is after running
> (menu-bar-mode) how can I get the current status of menu-bar?

What do you mean by "the current status of menu-bar"?
You want to know whether the current frame has a menu-bar or not?
If so, you can check the `menu-bar-lines' propery of the
`selected-frame'.
But it's very unusual to need this information,


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]