aboutsummaryrefslogtreecommitdiffstats
path: root/oni-ivy.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-07-08 22:47:11 -0700
committerGravatar Tom Willemse2019-07-08 22:47:11 -0700
commitd1703ebd740f32f629c82299c366af825278595c (patch)
treeaede7d408ec46b9c05cadfbf759296552dcefc2d /oni-ivy.el
parent7d1d051086036c8a495319125403823dab812a52 (diff)
downloademacs-config-d1703ebd740f32f629c82299c366af825278595c.tar.gz
emacs-config-d1703ebd740f32f629c82299c366af825278595c.zip
Use recommended ‘ivy-posframe-mode’
Diffstat (limited to 'oni-ivy.el')
-rw-r--r--oni-ivy.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/oni-ivy.el b/oni-ivy.el
index 16eaa39..f49b077 100644
--- a/oni-ivy.el
+++ b/oni-ivy.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190522204855
+;; Version: 20190708224516
;; Package-Requires: (ivy ivy-hydra diminish ivy-posframe)
;; This program is free software; you can redistribute it and/or modify
@@ -46,14 +46,13 @@
(add-function :around (symbol-function 'grep-read-files)
#'oni-ivy--disable)))
-(setq ivy-display-function #'ivy-posframe-display-at-frame-center)
-
-(diminish 'ivy-mode)
-
;;;###autoload
(add-hook 'emacs-startup-hook 'ivy-mode)
-(ivy-posframe-enable)
+(ivy-posframe-mode)
+
+(diminish 'ivy-posframe-mode)
+(diminish 'ivy-mode)
;;;###autoload(with-eval-after-load 'ivy (require 'oni-ivy))