ui/doom-modeline: factor our subr-x dependency (string-empty-p)
This commit is contained in:
parent
87ea0dbdda
commit
3506602a4b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue