Don't disable menu-bar-mode by default
This commit is contained in:
parent
13fa12a3de
commit
878cffb65a
3 changed files with 11 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
|
* [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled.
|
||||||
|
|
||||||
### Bugs fixed
|
### Bugs fixed
|
||||||
|
|
||||||
## 1.0.0 (2020-09-15)
|
## 1.0.0 (2020-09-15)
|
||||||
|
|
|
@ -36,6 +36,13 @@
|
||||||
:prefix "prelude-"
|
:prefix "prelude-"
|
||||||
:group 'convenience)
|
: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
|
(defcustom prelude-auto-save t
|
||||||
"Non-nil values enable Prelude's auto save."
|
"Non-nil values enable Prelude's auto save."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
|
|
|
@ -37,7 +37,8 @@
|
||||||
(when (fboundp 'tool-bar-mode)
|
(when (fboundp 'tool-bar-mode)
|
||||||
(tool-bar-mode -1))
|
(tool-bar-mode -1))
|
||||||
|
|
||||||
(menu-bar-mode -1)
|
(when prelude-minimalistic-ui
|
||||||
|
(menu-bar-mode -1))
|
||||||
|
|
||||||
;; the blinking cursor is nothing, but an annoyance
|
;; the blinking cursor is nothing, but an annoyance
|
||||||
(blink-cursor-mode -1)
|
(blink-cursor-mode -1)
|
||||||
|
|
Loading…
Reference in a new issue