Skip to content

Commit

Permalink
feat: final mod
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 29, 2024
1 parent 9be5dec commit 64f7a7a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jcs-modeline.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@

(defcustom jcs-modeline-left
`((:eval (jcs-modeline--render-front-spaces))
(:eval (moody-tab (jcs-modeline--render-buffer-identification)))
(:eval (jcs-modeline--render-modes))
(:eval (jcs-modeline--render-buffer-identification))
(:eval (moody-tab (jcs-modeline--render-vc-project)))
(:eval (jcs-modeline--render-read-only))
(:eval mode-line-process))
Expand Down Expand Up @@ -286,9 +286,8 @@ Position argument ARG0."

(defun jcs-modeline--render-buffer-identification ()
"Render buffer identification."
(concat (and (not (bound-and-true-p centaur-tabs-mode))
(jcs-modeline-format mode-line-buffer-identification))
" "))
(unless (bound-and-true-p centaur-tabs-mode)
(jcs-modeline-format mode-line-buffer-identification)))

;;
;;; Modes
Expand Down

0 comments on commit 64f7a7a

Please sign in to comment.