emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe 229caae 003/195: update


From: Feng Shu
Subject: [elpa] externals/ivy-posframe 229caae 003/195: update
Date: Sat, 3 Oct 2020 07:11:34 -0400 (EDT)

branch: externals/ivy-posframe
commit 229caaee32d05b04f44dba498a3e973e82dc5dc7
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    update
---
 ivy-posframe.el | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index ef253ba..ac28f8c 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -34,6 +34,10 @@
 (require 'cl-lib)
 (require 'posframe)
 
+(push '(ivy-posframe-display
+        :cleanup ivy-posframe-cleanup)
+      ivy-display-function-props)
+
 (defgroup ivy-posframe nil
   "Using posframe to show ivy"
   :group 'ivy
@@ -72,17 +76,9 @@ Using current frame's font if it it nil."
 ;;;###autoload
 (defun ivy-posframe-enable ()
   (interactive)
-  (require 'ivy)
   (setq ivy-display-function #'ivy-posframe-display)
-  (push '(t . ivy-posframe-display)
-        ivy-display-functions-alist)
-  (push '(ivy-posframe-display
-          :cleanup ivy-posframe-cleanup)
-        ivy-display-function-props)
   (message "Ivy-posframe is enabled, disable it need restart emacs."))
 
-
-
 (provide 'ivy-posframe)
 
 ;; Local Variables:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]