Function: eca-doom--tabline-visible-p

eca-doom--tabline-visible-p is a natively compiled function defined in eca-doom.el.

Signature

(eca-doom--tabline-visible-p)

Documentation

Return non-nil when the workspace tabline is the message shown now.

Compares the echo-area message text with the last produced tabline. string-equal ignores text properties, so a status-only face change still matches the same workspace labels.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-doom.el
(defun eca-doom--tabline-visible-p ()
  "Return non-nil when the workspace tabline is the message shown now.
Compares the echo-area message text with the last produced tabline.
`string-equal' ignores text properties, so a status-only face change
still matches the same workspace labels."
  (when-let* ((shown (current-message)))
    (and eca-doom--last-tabline
         (string-equal shown eca-doom--last-tabline))))