Function: doom-modeline--buffer-state-icon
doom-modeline--buffer-state-icon is a byte-compiled function defined
in doom-modeline-segments.el.
Signature
(doom-modeline--buffer-state-icon)
Documentation
The icon of the current buffer state.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(defsubst doom-modeline--buffer-state-icon ()
"The icon of the current buffer state."
(when (and doom-modeline-icon doom-modeline-buffer-state-icon)
(when-let* ((icon (doom-modeline-update-buffer-file-state-icon)))
(unless (string-empty-p icon)
(concat
(doom-modeline-display-icon icon)
(doom-modeline-vspc))))))