mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/doom-modeline: factor our subr-x dependency (string-empty-p)
This commit is contained in:
@ -505,8 +505,8 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
|
||||
(+doom-modeline--anzu)
|
||||
(+doom-modeline--evil-substitute)
|
||||
(+doom-modeline--iedit))))
|
||||
(or (and (not (string-empty-p meta)) meta)
|
||||
" %I ")))
|
||||
(or (and (not (string= meta "")) meta)
|
||||
(if buffer-file-name " %I "))))
|
||||
|
||||
;; TODO Include other information
|
||||
(def-modeline-segment! media-info
|
||||
|
Reference in New Issue
Block a user