Enable linum-mode by default

This commit is contained in:
Bozhidar Batsov 2020-09-15 11:13:43 +03:00
parent 878cffb65a
commit d02eaf2e26
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,8 @@
### New features ### New features
* Enable `linum-mode` by default. Can be disabled by setting `prelude-minimalistic-ui` to `nil`.
### Changes ### Changes
* [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled. * [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled.

View file

@ -59,6 +59,10 @@
(column-number-mode t) (column-number-mode t)
(size-indication-mode t) (size-indication-mode t)
;; show line numbers at the beginning of each line
(unless prelude-minimalistic-ui
(linum-mode))
;; enable y/n answers ;; enable y/n answers
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)