Use recommended ‘ivy-posframe-mode’
This commit is contained in:
parent
7d1d051086
commit
d1703ebd74
1 changed files with 5 additions and 6 deletions
11
oni-ivy.el
11
oni-ivy.el
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue