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

Re: emacs memu bars in linux console



Osamu Aoki <debian@aokiconsulting.com> writes:

> Hi,
> 
> On Sat, Mar 10, 2001 at 08:41:35PM +0300, Alexander Zhuckov wrote:
> > Osamu Aoki <debian@aokiconsulting.com> writes:
> > > Yes but that's not my point.  'F10' and 'M-`' exist and I use them :-)
> ...
> > Put (menu-bar-mode '-1) in your .emacs file. If you want menu bar only
> > under X you can test for window system before setting this variable.
> 
> Good idea.  Though, I am lisp illiterate.  How to test for X?
> Just putting above disabled menu in X too.

Like this:

(if (not window-system) (menu-bar-mode -1) (menu-bar-mode 1))
-- 
Alexander Zhuckov   zuav@int.spb.ru   2:5030/518.50



Reply to: