[Top][All Lists]

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

Re: Disable menu bar mode

From: Emanuel Berg
Subject: Re: Disable menu bar mode
Date: Thu, 14 Dec 2017 03:38:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Rusi wrote:

> | If called from Lisp, enable Menu Bar mode
> | if ARG is omitted or nil.
> That this seems backwards is one thing

Use this so you don't have to bother with the
confusing argument:

    (defun toggle-menu-bar-mode ()
      (menu-bar-mode (when menu-bar-mode 0)) )

I got it from Two-Edge [1], pretty clever, the
old joker...


underground experts united

reply via email to

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