From 09a833338f3a2394a0049d9a9cb7a13817f05d60 Mon Sep 17 00:00:00 2001 From: Andrew Whatson Date: Thu, 21 Mar 2019 14:34:33 +1000 Subject: [PATCH] Fix +ivy-buffer-preview no longer ignoring virtuals Upstream updated `counsel--switch-buffer-update-fn` to check `ivy--virtual-buffers` instead of `ivy-use-virtual-buffers`. --- modules/completion/ivy/autoload/ivy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index e416c7160..c05856ea0 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -35,7 +35,7 @@ temporary/special buffers in `font-lock-comment-face'." ;; Library (defun +ivy--switch-buffer-preview () - (let (ivy-use-virtual-buffers) + (let (ivy-use-virtual-buffers ivy--virtual-buffers) (counsel--switch-buffer-update-fn))) (defalias '+ivy--switch-buffer-preview-all #'counsel--switch-buffer-update-fn)