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:
Joerg Bornemann 2021-04-26 21:13:40 +02:00 committed by Bozhidar Batsov
parent f9fb902185
commit 43e484b30e
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,8 @@
### Bugs fixed
* Fix `company` still being visible in the mode line.
## 1.1.0 (2021-02-14)
### New features

View file

@ -44,7 +44,7 @@
(setq company-tooltip-flip-when-above t)
(global-company-mode 1)
(diminish 'global-company-mode)
(diminish 'company-mode)
(provide 'prelude-company)
;;; prelude-company.el ends here