branch: externals/consult
commit 44beaa209f2a1f9351b0156c483c09dbe9a84aac
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    consult--buffer-sort-visibility: Reuse variable
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index c26af232a5..84409d6792 100644
--- a/consult.el
+++ b/consult.el
@@ -4369,7 +4369,7 @@ The command supports previewing the currently selected 
theme."
             it
           (push it hidden)
           nil)))
-    (nconc (nreverse hidden) buffers (list (current-buffer)))))
+    (nconc (nreverse hidden) buffers (list current))))
 
 (defun consult--normalize-directory (dir)
   "Normalize directory DIR.

Reply via email to