Function: doom-modeline--segment-visible
doom-modeline--segment-visible is a natively compiled function defined
in doom-modeline-core.el.
Signature
(doom-modeline--segment-visible NAME)
Documentation
Whether the segment NAME should be displayed.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-core.el
(defun doom-modeline--segment-visible (name)
"Whether the segment NAME should be displayed."
(and
(or (doom-modeline--active)
(member name doom-modeline-always-visible-segments))
(not doom-modeline--limited-width-p)))