branch: master
commit 222a5e687bfd12465ad17495bc36c13e06d1af77
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy--virtual-buffers): Move to silence compiler
---
ivy.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ivy.el b/ivy.el
index bc00f5b..96b79aa 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2490,6 +2490,9 @@ Prefix matches to NAME are put ahead of the list."
(nreverse res-prefix)
(nreverse res-noprefix)))))
+(defvar ivy--virtual-buffers nil
+ "Store the virtual buffers alist.")
+
(defun ivy-sort-function-buffer (name candidates)
"Re-sort CANDIDATES, a list of buffer names that contain NAME.
Sort open buffers before virtual buffers, and prefix matches
@@ -2829,9 +2832,6 @@ CANDS is a list of strings."
(put-text-property 0 (length res) 'read-only nil res)
res))))
-(defvar ivy--virtual-buffers nil
- "Store the virtual buffers alist.")
-
(defvar recentf-list)
(defcustom ivy-virtual-abbreviate 'name