all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: early-init and tool-bar-mode question
Date: Wed, 20 Feb 2019 22:19:22 -0500	[thread overview]
Message-ID: <jwv1s41hltz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 20190221014000.b4bwpbh5hdvpvbuo@Ergus

> (setq electric-indent-mode nil)
> (setq menu-bar-mode nil)
> (setq tool-bar-mode nil)
> (setq scroll-bar-mode nil)
> (setq tooltip-mode nil)

These are all minor modes, so to disable them you want to *call* them.
Just setting the var is likely not to be quite good enough (tho it will
sometimes work, admittedly):

    (electric-indent-mode -1)
    (menu-bar-mode -1)
    (tool-bar-mode -1)
    (scroll-bar-mode -1)
    (tooltip-mode -1)

> Apparently if I set this in this way, the tool-bar is always shown in
> terminal-mode, but in the graphical version it is not.

I've never seen the tool bar in terminal mode, so your description
sounds very strange.


        Stefan




      reply	other threads:[~2019-02-21  3:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21  1:40 early-init and tool-bar-mode question Ergus
2019-02-21  3:19 ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1s41hltz.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.