         (setq spaceline-window-numbers-unicode unicodep)
         (setq spaceline-workspace-numbers-unicode unicodep))
 
-      (defvar spacemacs-mode-line-new-version-lighterp t)
-
       (defpowerline spacemacs-powerline-new-version
         (propertize
          spacemacs-version-check-lighter

                               (format (concat "Do you want to update to the newest "
                                               "version %s ?") spacemacs-new-version))
                              (progn
                                (spacemacs/switch-to-version spacemacs-new-version)
                                (setq spacemacs-mode-line-new-version-lighterp nil))
                            (message "Update aborted."))))
                      map)))


        (spacemacs-powerline-new-version
         (spacemacs/get-new-version-lighter-face
          spacemacs-version spacemacs-new-version))
        :when spacemacs-new-version)

      (spaceline-spacemacs-theme '(new-version :when active))
      (spaceline-helm-mode t)
