ui/doom-modeline: factor our subr-x dependency (string-empty-p)

This commit is contained in:
Henrik Lissner 2017-04-09 22:10:18 -04:00
parent 87ea0dbdda
commit 3506602a4b

View file

@ -505,8 +505,8 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
(+doom-modeline--anzu) (+doom-modeline--anzu)
(+doom-modeline--evil-substitute) (+doom-modeline--evil-substitute)
(+doom-modeline--iedit)))) (+doom-modeline--iedit))))
(or (and (not (string-empty-p meta)) meta) (or (and (not (string= meta "")) meta)
" %I "))) (if buffer-file-name " %I "))))
;; TODO Include other information ;; TODO Include other information
(def-modeline-segment! media-info (def-modeline-segment! media-info