Function: ghostel-buffer-list

ghostel-buffer-list is a natively compiled function defined in ghostel.el.

Signature

(ghostel-buffer-list)

Documentation

Return all live ghostel-mode buffers, sorted alphabetically by name.

Sorted (not buffer-list order) so cycle commands advance through the same sequence regardless of recent buffer-switch history.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel-buffer-list ()
  "Return all live `ghostel-mode' buffers, sorted alphabetically by name.
Sorted (not `buffer-list' order) so cycle commands advance through
the same sequence regardless of recent buffer-switch history."
  (sort (cl-remove-if-not
         (lambda (b) (with-current-buffer b (derived-mode-p 'ghostel-mode)))
         (buffer-list))
        (lambda (a b) (string< (buffer-name a) (buffer-name b)))))