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-ivy.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'oni-ivy.el') diff --git a/oni-ivy.el b/oni-ivy.el index c5848f3..c5600de 100644 --- a/oni-ivy.el +++ b/oni-ivy.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0305.221151 +;; Version: 2020.0408.103313 ;; Package-Requires: (ivy oni-prescient oni-hydra ivy-hydra diminish ivy-posframe ivy-prescient) ;; This program is free software; you can redistribute it and/or modify @@ -56,8 +56,8 @@ (ivy-posframe-mode) (ivy-prescient-mode) -(diminish 'ivy-posframe-mode) -(diminish 'ivy-mode) +(with-eval-after-load 'ivy-posframe (diminish 'ivy-posframe-mode)) +(with-eval-after-load 'ivy (diminish 'ivy-mode)) ;;;###autoload(with-eval-after-load 'ivy (require 'oni-ivy)) -- cgit v1.2.3-54-g00ecf