 (defvar all-the-icons-default-adjust)
 (defun doom-dashboard-widget--shortmenu ()
   (let ((all-the-icons-scale-factor 1.3)
-        (all-the-icons-default-adjust -0.05)
-        (last-session-p (and (and (featurep 'persp-mode) persp-mode)
-                             (file-exists-p (expand-file-name persp-auto-save-fname persp-save-dir)))))
+        (all-the-icons-default-adjust -0.05))
     (mapc (lambda (btn)
             (when btn
               (cl-destructuring-bind (label icon fn) btn

;;; ui/doom-dashboard/config.el -*- lexical-binding: t; -*-

(defvar +doom-dashboard-name " *doom*"
  "TODO")

(defvar +doom-dashboard-modeline nil
  "TODO")

(defvar +doom-dashboard-inhibit-refresh nil
  "If non-nil, the doom buffer won't be refreshed.")

(defvar +doom-dashboard-widgets '(banner shortmenu loaded)
  "List of widgets to display in a blank scratch buffer.")

(define-derived-mode +doom-dashboard-mode special-mode
  (concat "v" doom-version)

(defun +doom-dashboard-center (len s)
  (concat (make-string (ceiling (max 0 (- len (length s))) 2) ? )
          s))

(defun +doom-dashboard-reload (&optional dir)
  "Update the DOOM scratch buffer (or create it, if it doesn't exist)."
