1
0
Fork 0

Use recommended ‘ivy-posframe-mode’

This commit is contained in:
Tom Willemse 2019-07-08 22:47:11 -07:00
parent 7d1d051086
commit d1703ebd74

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190522204855 ;; Version: 20190708224516
;; Package-Requires: (ivy ivy-hydra diminish ivy-posframe) ;; Package-Requires: (ivy ivy-hydra diminish ivy-posframe)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -46,14 +46,13 @@
(add-function :around (symbol-function 'grep-read-files) (add-function :around (symbol-function 'grep-read-files)
#'oni-ivy--disable))) #'oni-ivy--disable)))
(setq ivy-display-function #'ivy-posframe-display-at-frame-center)
(diminish 'ivy-mode)
;;;###autoload ;;;###autoload
(add-hook 'emacs-startup-hook 'ivy-mode) (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)) ;;;###autoload(with-eval-after-load 'ivy (require 'oni-ivy))