     (spaceline-define-segment *major-mode
       (powerline-raw
        (concat
-        (and (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount))
+        (and (featurep 'face-remap) (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount))
         mode-name
         mode-line-process
         ))


    (spaceline-define-segment *hud
      "A HUD that shows which part of the buffer is currently visible."
      (powerline-hud highlight-face other-face 1)
      :face other-face
      :tight-right t))

  ;; Initialize modeline

  :config
  (setq-default
   powerline-default-separator nil
   powerline-height 19
   spaceline-highlight-face-func 'spaceline-highlight-face-evil-state)

  (defface mode-line-is-modified nil "Face for mode-line modified symbol")
