Skip to content

Commit

Permalink
[Compatibility] Check modeline default value type in case it was chan…
Browse files Browse the repository at this point in the history
…ged.
  • Loading branch information
Alexander-Miller committed Aug 8, 2024
1 parent 4e7a337 commit 202d7f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/elisp/treemacs-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ Will be set by `treemacs--post-command'.")
major-mode)
nil)
'("%e" (:eval (spaceline-ml-treemacs))))
((memq 'moody-mode-line-buffer-identification
(default-value 'mode-line-format))
((and (listp (default-value 'mode-line-format))
(member 'moody-mode-line-buffer-identification
(default-value 'mode-line-format)))
'(:eval (moody-tab " Treemacs " 10 'down)))
((featurep 'doom-modeline)
(with-no-warnings
Expand Down

0 comments on commit 202d7f0

Please sign in to comment.