Remove display-battery-mode
This commit is contained in:
parent
27c84a4a31
commit
418e88356e
8
init.el
8
init.el
|
@ -300,13 +300,7 @@
|
||||||
(column-number-mode -1)
|
(column-number-mode -1)
|
||||||
(size-indication-mode +1)
|
(size-indication-mode +1)
|
||||||
(display-time-mode -1)
|
(display-time-mode -1)
|
||||||
|
(display-battery-mode -1)
|
||||||
(require 'battery)
|
|
||||||
(when (and battery-status-function
|
|
||||||
(not ( string-match-p "unknown"
|
|
||||||
( battery-format "%B"
|
|
||||||
(funcall battery-status-function)))))
|
|
||||||
(display-battery-mode +1))
|
|
||||||
|
|
||||||
(use-package diff-hl
|
(use-package diff-hl
|
||||||
:functions (diff-hl-magit-pre-refresh
|
:functions (diff-hl-magit-pre-refresh
|
||||||
|
|
Loading…
Reference in a new issue