Function: consult--buffer-sort-alpha-current
consult--buffer-sort-alpha-current is a byte-compiled function defined
in consult.el.
Signature
(consult--buffer-sort-alpha-current BUFFERS)
Documentation
Sort BUFFERS alphabetically, put current at the beginning.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--buffer-sort-alpha-current (buffers)
"Sort BUFFERS alphabetically, put current at the beginning."
(let ((buffers (consult--buffer-sort-alpha buffers))
(current (current-buffer)))
(if (memq current buffers)
(cons current (delq current buffers))
buffers)))