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

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

[elpa] master 222a5e6 217/348: ivy.el (ivy--virtual-buffers): Move to si


From: Oleh Krehel
Subject: [elpa] master 222a5e6 217/348: ivy.el (ivy--virtual-buffers): Move to silence compiler
Date: Sat, 8 Apr 2017 11:03:59 -0400 (EDT)

branch: master
commit 222a5e687bfd12465ad17495bc36c13e06d1af77
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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



reply via email to

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