From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Disable menu bar mode Date: Thu, 14 Dec 2017 02:49:27 +0000 Message-ID: References: <7816d4f5-f412-4a7e-8aa2-ce45a489e9ed@googlegroups.com> <86efnynie8.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1513219809 7561 195.159.176.226 (14 Dec 2017 02:50:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 02:50:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 14 03:50:06 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePJb1-0001gi-Dk for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Dec 2017 03:50:03 +0100 Original-Received: from localhost ([::1]:38889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePJb8-0002b5-Nd for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Dec 2017 21:50:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePJae-0002aW-GE for help-gnu-emacs@gnu.org; Wed, 13 Dec 2017 21:49:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePJad-0000bV-Do for help-gnu-emacs@gnu.org; Wed, 13 Dec 2017 21:49:40 -0500 Original-Received: from mail-yb0-x22a.google.com ([2607:f8b0:4002:c09::22a]:33211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePJad-0000bA-7f for help-gnu-emacs@gnu.org; Wed, 13 Dec 2017 21:49:39 -0500 Original-Received: by mail-yb0-x22a.google.com with SMTP id i15so2449552ybk.0 for ; Wed, 13 Dec 2017 18:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BvAfO/hhnR+8zkVwx1WpRxfgklkK/g++K1LiE4EAXHs=; b=JvpM1BRzAvh/BSHwaXsPwFn8Elw25YG/uPoEUGrQDtQOzfq31j+EuGLh48cO2XBy5e eYpOHKVpUKDkJzdmD89/9xygi7str9ZVYcFN+vLdORIEjeNZ0EmQ3iHqErEocxjxwwYe 2vedqMKOyRBF3hmS51ChC1tVGWLBBnDpH17l5z5OX2yHdzdgRt4rLxhnHNru2DfMcEI1 UJCs5jw3c/XXbjWDMgFmXLw4k06xO7n3ugDNm1nW/e73lhdWoH+jF4hjr50XtsESSTm4 Wd23QmXpr//9024YZtnb6ip5PavLuCWmbd555h+qIURnc49/dLNxuLvJVp9P7FoXTwsl AMnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BvAfO/hhnR+8zkVwx1WpRxfgklkK/g++K1LiE4EAXHs=; b=A9FOS/GzHoM46nLCT9VOn+G556y6HPPAvcNENm7lLbVM1Uvi9zRU9zx8elGKTfUpb2 Ik2NBbh0T9mAngjtaoZdPSVZHAlB6YeszKVAgNXyNX0cQIsAXp/PMfCY0m3H/fYFVpRQ E1jiAWOtDcnCm6SNSwWcVnX/VQPmNyw3mALwQd0scxI51FlHLGQtpJ0ltuDOeF3k8+KZ cwtFxmSYxuVNpBzP6IPsmHnTgi0ewM0Nq3SoN2DcGckV9YwxWFJ2jh+yaAUedfpqlz5l z3gQ/wmHRcj0GIQ5HiYq3mkrZ/l6CC20q1hFlQaYbgsjmh4Iv/ZFyJwJwj3trQ5c5XO4 sGQw== X-Gm-Message-State: AKGB3mJWomDjY+de4sz6G9TGSHbhCCY6SUrZs5YfO87J/mRaxT8N4Yun r2Vfp6EzYcv+EuscdMWR1oSA3bIyBHDIu06bYJY= X-Google-Smtp-Source: ACJfBotSbOAXq0q5/pWv8/HvTvGMGAell4UzBdXo4buq9sa1XV56lHukzs14DwdvZM7uNgyclN8+AgDTyGWVVTfy5I0= X-Received: by 10.37.22.4 with SMTP id 4mr884289ybw.28.1513219778235; Wed, 13 Dec 2017 18:49:38 -0800 (PST) In-Reply-To: <86efnynie8.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::22a X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115346 Archived-At: On Wed, Dec 13, 2017 at 9:40 PM Emanuel Berg wrote: > Use this so you don't have to bother with the > confusing argument: > > (defun toggle-menu-bar-mode () > .. > menu-bar-mode is a minor mode. So you do just M-x menu-bar-mode to toggle it. Below applies to all minor modes (should say almost all, since it's still possible someone hacked together an unconventional minor mode). In Elisp: To enable, pass a positive arg. To disable, pass a negative arg. -- Kaushal Modi