From df4d188d3f0bbaffeef0e474de5581e714fdcc23 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 8 Apr 2020 11:16:00 -0700 Subject: Fix diminishing minor modes when reloading libraries --- oni-company.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'oni-company.el') 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 ;; 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)) -- cgit v1.2.3-54-g00ecf