Fix diminishing company-mode
The diminish call on global-company-mode has no effect. To hide the lighter of company-mode, we must call diminish on company-mode, not its global companion.
This commit is contained in:
parent
f9fb902185
commit
43e484b30e
2 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@
|
||||||
|
|
||||||
### Bugs fixed
|
### Bugs fixed
|
||||||
|
|
||||||
|
* Fix `company` still being visible in the mode line.
|
||||||
|
|
||||||
## 1.1.0 (2021-02-14)
|
## 1.1.0 (2021-02-14)
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
(setq company-tooltip-flip-when-above t)
|
(setq company-tooltip-flip-when-above t)
|
||||||
|
|
||||||
(global-company-mode 1)
|
(global-company-mode 1)
|
||||||
(diminish 'global-company-mode)
|
(diminish 'company-mode)
|
||||||
|
|
||||||
(provide 'prelude-company)
|
(provide 'prelude-company)
|
||||||
;;; prelude-company.el ends here
|
;;; prelude-company.el ends here
|
||||||
|
|
Loading…
Reference in a new issue