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

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

[elpa] externals/ivy-posframe 5177963 2/3: sort declare-function


From: Feng Shu
Subject: [elpa] externals/ivy-posframe 5177963 2/3: sort declare-function
Date: Sat, 3 Oct 2020 08:54:11 -0400 (EDT)

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

    sort declare-function
---
 ivy-posframe.el | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 4096c58..da49c9a 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -380,13 +380,6 @@ This variable is useful for `ivy-posframe-read-action' .")
 (defvar avy-style)
 (defvar avy-pre-action)
 
-(defun ivy-posframe-avy ()
-  "Ivy-posframe's `ivy-avy'."
-  (interactive)
-  (let ((avy-pre-action #'ignore))
-    (with-selected-window (ivy-posframe--window)
-      (ivy-avy))))
-
 (declare-function avy--make-backgrounds "avy")
 (declare-function avy-window-list "avy")
 (declare-function avy-read-de-bruijn "avy")
@@ -396,6 +389,15 @@ This variable is useful for `ivy-posframe-read-action' .")
 (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)
+  (let ((avy-pre-action #'ignore))
+    (with-selected-window (ivy-posframe--window)
+      (ivy-avy))))
 
 (defun ivy-posframe--swiper-avy-candidates ()
   "Ivy-posframe's `swiper-avy-candidates'."
@@ -446,9 +448,6 @@ This variable is useful for `ivy-posframe-read-action' .")
   (cl-letf (((symbol-function 'swiper--avy-candidates) 
#'ivy-posframe--swiper-avy-candidates))
     (swiper--avy-candidate)))
 
-(declare-function avy-action-goto "avy")
-(declare-function avy-candidate-beg "avy")
-
 (defun ivy-posframe--swiper--avy-goto (candidate)
   "Ivy-posframe's `swiper--avy-goto'."
   (cond ((eq (cdr-safe candidate)



reply via email to

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