Function: doom-modeline-segment--buffer-info

doom-modeline-segment--buffer-info is a natively compiled function defined in doom-modeline-segments.el.

Signature

(doom-modeline-segment--buffer-info)

Documentation

Combined information about the current buffer.

Including the current working directory, the file name, and its state (modified, read-only or non-existent).

Source Code

;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(doom-modeline-def-segment buffer-info
  "Combined information about the current buffer.

Including the current working directory, the file name, and its state (modified,
read-only or non-existent)."
  (concat
   (doom-modeline-spc)
   (doom-modeline--buffer-mode-icon)
   (doom-modeline--buffer-state-icon)
   (doom-modeline--buffer-name)))