 
 (defconst configuration-layer-rollback-info "rollback-info"
   "Spacemacs rollback information file.")
+
+(defvar spacemacs-number-of-rollback-slots 5
+  "Number of spacemacs rollback slots.")
 
 (defclass cfgl-layer ()
   ((name :initarg :name

                   pkg-name layer err))))))
          (oref pkg :post-layers))))

(defun configuration-layer/update-packages (&optional always-update)
  "Update packages.


           (format "\n--> %s package(s) to be updated.\n" upgraded-count))
          (spacemacs-buffer/append
           "\nEmacs has to be restarted to actually install the new packages.\n")
          (configuration-layer//cleanup-rollback-directory)
          (spacemacs//redisplay))
      (spacemacs-buffer/append "--> All packages are up to date.\n")
      (spacemacs//redisplay))))
