aboutsummaryrefslogtreecommitdiffstats
path: root/oni-counsel.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-counsel.el
parent2cfd2013b98fcd04834fbd6d4addd85045642afc (diff)
downloademacs-config-df4d188d3f0bbaffeef0e474de5581e714fdcc23.tar.gz
emacs-config-df4d188d3f0bbaffeef0e474de5581e714fdcc23.zip
Fix diminishing minor modes when reloading libraries
Diffstat (limited to 'oni-counsel.el')
-rw-r--r--oni-counsel.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/oni-counsel.el b/oni-counsel.el
index 2788db2..973be7a 100644
--- a/oni-counsel.el
+++ b/oni-counsel.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0224.214110
+;; Version: 2020.0408.104838
;; Package-Requires: (counsel diminish helpful)
;; This program is free software; you can redistribute it and/or modify
@@ -39,7 +39,7 @@
(rx (or (and bos ".")
(and ".zwc" eos))))
-(diminish 'counsel-mode)
+(with-eval-after-load 'counsel (diminish 'counsel-mode))
(setq counsel-describe-function-function 'helpful-callable)
(setq counsel-describe-variable-function 'helpful-variable)