aboutsummaryrefslogtreecommitdiffstats
path: root/oni-company.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-04-08 11:16:00 -0700
committerGravatar Tom Willemse2020-04-08 11:16:00 -0700
commitdf4d188d3f0bbaffeef0e474de5581e714fdcc23 (patch)
treeb27fb8b215eb2d37e9994a5e50c8c0c55c097157 /oni-company.el
parent2cfd2013b98fcd04834fbd6d4addd85045642afc (diff)
downloademacs-config-df4d188d3f0bbaffeef0e474de5581e714fdcc23.tar.gz
emacs-config-df4d188d3f0bbaffeef0e474de5581e714fdcc23.zip
Fix diminishing minor modes when reloading libraries
Diffstat (limited to 'oni-company.el')
-rw-r--r--oni-company.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/oni-company.el b/oni-company.el
index 23b7ec3..53ff9fb 100644
--- a/oni-company.el
+++ b/oni-company.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0302.092855
+;; Version: 2020.0408.110439
;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient)
;; This program is free software; you can redistribute it and/or modify
@@ -58,8 +58,8 @@
(company-prescient-mode)
-(diminish 'company-mode)
-(diminish 'company-posframe-mode)
+(with-eval-after-load 'company (diminish 'company-mode))
+(with-eval-after-load 'company-posframe (diminish 'company-posframe-mode))
;;;###autoload(with-eval-after-load 'company (require 'oni-company))