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

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

[elpa] master 8c936bc 21/57: ivy.el (ivy-use-virtual-buffers): New defcu


From: Oleh Krehel
Subject: [elpa] master 8c936bc 21/57: ivy.el (ivy-use-virtual-buffers): New defcustom
Date: Tue, 19 May 2015 14:21:28 +0000

branch: master
commit 8c936bc43753a3b4ab3e439a8eb28e04761e93d7
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-use-virtual-buffers): New defcustom
    
    Re #84
---
 ivy.el |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 2168fb2..a9a3425 100644
--- a/ivy.el
+++ b/ivy.el
@@ -87,6 +87,10 @@ This is usually meant as a quick exit out of the minibuffer."
 Only \"./\" and \"../\" apply here. They appear in reverse order."
   :type 'list)
 
+(defcustom ivy-use-virtual-buffers nil
+  "When non-nil, add `recentf-mode' and bookmarks to the list of buffers."
+  :type 'boolean)
+
 ;;* Keymap
 (require 'delsel)
 (defvar ivy-minibuffer-map
@@ -1099,7 +1103,6 @@ CANDS is a list of strings."
 (defvar ido-use-faces)
 (defvar ido-process-ignore-lists)
 (defvar ido-ignored-list)
-(defvar ido-use-virtual-buffers)
 (declare-function ido-make-buffer-list "ido")
 
 (defun ivy--virtual-buffers ()
@@ -1143,7 +1146,7 @@ See `ido-make-buffer-list'."
     (delete-dups
      (append (ido-make-buffer-list nil)
              (and
-              ido-use-virtual-buffers
+              ivy-use-virtual-buffers
               (ivy--virtual-buffers))))))
 
 (defun ivy-switch-buffer ()



reply via email to

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