Don't disable menu-bar-mode by default

This commit is contained in:
Bozhidar Batsov 2020-09-15 11:11:23 +03:00
parent 13fa12a3de
commit 878cffb65a
3 changed files with 11 additions and 1 deletions

View file

@ -6,6 +6,8 @@
### Changes
* [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled.
### Bugs fixed
## 1.0.0 (2020-09-15)

View file

@ -36,6 +36,13 @@
:prefix "prelude-"
:group 'convenience)
(defcustom prelude-minimalistic-ui nil
"Controls whether to display the menu-bar and line numbers.
Note that the toolbar is always hidden regardless of this setting."
:type 'boolean
:group 'prelude
:package-version '(prelude . "1.1"))
(defcustom prelude-auto-save t
"Non-nil values enable Prelude's auto save."
:type 'boolean

View file

@ -37,7 +37,8 @@
(when (fboundp 'tool-bar-mode)
(tool-bar-mode -1))
(menu-bar-mode -1)
(when prelude-minimalistic-ui
(menu-bar-mode -1))
;; the blinking cursor is nothing, but an annoyance
(blink-cursor-mode -1)