       (async-start
        `(lambda ()
           ,(async-inject-variables "\\`spacemacs-start-directory\\'")
-          (load-file (concat spacemacs-start-directory "core/core-load-paths.el"))
+          (load-file (concat spacemacs-start-directory
+                             "core/core-load-paths.el"))
           (require 'core-spacemacs)
           (spacemacs/get-last-version))
        (lambda (result)

      (setq spacemacs-version-check-timer
            (run-at-time t (timer-duration interval)
                         'spacemacs/check-for-new-version))))
   (t
    (message "Skipping check for new version (reason: async not loaded)"))
   ))

(defun spacemacs/get-last-version ()
  "Return the last tagged version."

                   (message "Succesfully switched to version %s" version))
               (message "An error occurred while switching to version %s"
                        version))))
          (t (message "Update aborted.")))))

(defun spacemacs/check-for-new-version (&optional interval)
  "Periodicly check for new for new Spacemacs version.
