all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* question about menu-bar-mode
@ 2010-03-01  8:42 fanng yuan
  2010-03-01 14:48 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: fanng yuan @ 2010-03-01  8:42 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

Hi guys:
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?
thanks

[-- Attachment #2: Type: text/html, Size: 159 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about menu-bar-mode
  2010-03-01  8:42 fanng yuan
@ 2010-03-01 14:48 ` Peter Dyballa
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2010-03-01 14:48 UTC (permalink / raw)
  To: fanng yuan; +Cc: help-gnu-emacs


Am 01.03.2010 um 09:42 schrieb fanng yuan:

> My question is after running
> (menu-bar-mode) how can I get the current status of menu-bar?

Did you ever check the state of the variable of the same name?

--
Greetings

   Pete     === -Q
              ==<__/% >>
_____________(_)____@_____________________________





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about menu-bar-mode
       [not found] <mailman.2080.1267446695.14305.help-gnu-emacs@gnu.org>
@ 2010-03-01 15:50 ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2010-03-01 15:50 UTC (permalink / raw)
  To: help-gnu-emacs

> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-01 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2080.1267446695.14305.help-gnu-emacs@gnu.org>
2010-03-01 15:50 ` question about menu-bar-mode Stefan Monnier
2010-03-01  8:42 fanng yuan
2010-03-01 14:48 ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.