[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 63f5a82 1/4: Fix compile warn.
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 63f5a82 1/4: Fix compile warn. |
Date: |
Sat, 3 Oct 2020 18:57:14 -0400 (EDT) |
branch: externals/ivy-posframe
commit 63f5a8277ae95d20a28936457b5318fa664920fa
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Fix compile warn.
---
ivy-posframe.el | 44 +++++++++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 6037ab3..f9c37e4 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -320,6 +320,30 @@ This variable is useful for `ivy-posframe-read-action' .")
(when (posframe-workable-p)
(posframe-hide ivy-posframe-buffer)))
+(defvar avy-all-windows)
+(defvar avy-keys)
+(defvar avy-style)
+(defvar avy-pre-action)
+(defvar swiper-faces)
+(defvar swiper-background-faces)
+(defvar swiper-min-highlight)
+
+(declare-function avy--make-backgrounds "avy")
+(declare-function avy-window-list "avy")
+(declare-function avy-read-de-bruijn "avy")
+(declare-function avy-read "avy")
+(declare-function avy-tree "avy")
+(declare-function avy--overlay-post "avy")
+(declare-function avy--remove-leading-chars "avy")
+(declare-function avy-push-mark "avy")
+(declare-function avy--done "avy")
+(declare-function avy-action-goto "avy")
+(declare-function avy-candidate-beg "avy")
+(declare-function ivy-avy "avy")
+(declare-function swiper--avy-candidate "swiper")
+(declare-function swiper-avy "swiper")
+(declare-function swiper--update-input-ivy "swiper")
+
(defun ivy-posframe-dispatching-done ()
"Ivy-posframe's `ivy-dispatching-done'."
(interactive)
@@ -374,23 +398,6 @@ This variable is useful for `ivy-posframe-read-action' .")
(buffer-local-value 'posframe--frame
(get-buffer ivy-posframe-buffer))))
-(defvar avy-all-windows)
-(defvar avy-keys)
-(defvar avy-style)
-(defvar avy-pre-action)
-
-(declare-function avy--make-backgrounds "avy")
-(declare-function avy-window-list "avy")
-(declare-function avy-read-de-bruijn "avy")
-(declare-function avy-read "avy")
-(declare-function avy-tree "avy")
-(declare-function avy--overlay-post "avy")
-(declare-function avy--remove-leading-chars "avy")
-(declare-function avy-push-mark "avy")
-(declare-function avy--done "avy")
-(declare-function avy-action-goto "avy")
-(declare-function avy-candidate-beg "avy")
-
(defun ivy-posframe-avy ()
"Ivy-posframe's `ivy-avy'."
(interactive)
@@ -419,8 +426,7 @@ This variable is useful for `ivy-posframe-read-action' .")
(append swiper-faces swiper-background-faces)))
(setq min-overlay-start (overlay-start ov))))
visible-overlays))
- (offset (if (eq (ivy-state-caller ivy-last) 'swiper) 1 0))
- (window (ivy-posframe--window)))
+ (offset (if (eq (ivy-state-caller ivy-last) 'swiper) 1 0)))
(nconc
(mapcar (lambda (ov)
(cons (overlay-start ov)