Function: doom-modeline--get-buffers

doom-modeline--get-buffers is a natively compiled function defined in doom-modeline-segments.el.

Signature

(doom-modeline--get-buffers)

Documentation

Gets the buffers that have activity.

Source Code

;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(defun doom-modeline--get-buffers ()
  "Gets the buffers that have activity."
  (cond
   ((doom-modeline--circe-p)
    (doom-modeline--circe-mention-buffers))
   ((doom-modeline--erc-p)
    (mapcar (lambda (l)
              (buffer-name (car l)))
            erc-modified-channels-alist))
   ((doom-modeline--rcirc-p)
    (mapcar (lambda (b)
              (buffer-name b))
            (doom-modeline--rcirc-mention-buffers)))
   ))