GNU bug report logs - #6037
24.0.50; menu-bar-mode function doesn't toggle

Previous Next

Package: emacs;

Reported by: Joseph Brenner <doom <at> kzsu.stanford.edu>

Date: Mon, 26 Apr 2010 11:11:02 UTC

Severity: normal

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Joseph Brenner <doom <at> kzsu.stanford.edu>
Cc: 6037 <at> debbugs.gnu.org
Subject: bug#6037: 24.0.50; menu-bar-mode function doesn't toggle
Date: Wed, 21 Sep 2011 21:37:51 +0200
Joseph Brenner <doom <at> kzsu.stanford.edu> writes:

> The menu-bar-mode function is not working as a toggle.
> Running this will turn on the menu bar, but running it again
> will not turn it off:
>
>   (menu-bar-mode)
>
> This does work to turn it off:
>   (menu-bar-mode -1)
>
> This turns it on, as documented:
>   (menu-bar-mode 1)
>
> Note that running scroll-bar-mode repeatedly does work as a toggle, as
> expected for menu-bar-mode:
>
>   (scroll-bar-mode)
>
> I used to use this code, and it *did* work as a toggle (possibly in error):
>
>   (menu-bar-mode nil)
>
> I've verified this bug with when invoked with -Q.

This seems to be intended behaviour and isn't a bug, so I'm closing this
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 303 days ago.

Previous Next


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