Last active
December 27, 2015 12:59
-
-
Save bonkydog/7330401 to your computer and use it in GitHub Desktop.
Make Emacs toolbar off by default and fix toolbar-always-on-in-fullscreen bug. When I start up emacs 24.3 (built with brew install emacs --cocoa), it does this annoying little dance where the window starts up with the toolbar. Then it gets to the part of my .emacs file where I turn the toolbar off. This makes the upper edge of the window do this…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/frame.c b/src/frame.c | |
| index 14e8fab..52a4304 100644 | |
| --- a/src/frame.c | |
| +++ b/src/frame.c | |
| @@ -4491,7 +4491,7 @@ See the command `tool-bar-mode' for a description of this minor mode. | |
| Setting this variable directly does not take effect; | |
| either customize it (see the info node `Easy Customization') | |
| or call the function `tool-bar-mode'. */); | |
| -#ifdef HAVE_WINDOW_SYSTEM | |
| +#ifdef I_WANT_THE_TOOLBAR_ON_BY_DEFAULT | |
| Vtool_bar_mode = Qt; | |
| #else | |
| Vtool_bar_mode = Qnil; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment