Add persistent-scratch

This commit is contained in:
Case Duckworth 2021-08-30 08:51:54 -05:00
parent 8e3d3480f1
commit ce5f177d59
1 changed files with 5 additions and 0 deletions

View File

@ -1780,6 +1780,11 @@ successive invocations."
(dolist (mode lispy-modes)
(add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode)))
(setup (:straight persistent-scratch)
(:option persistent-scratch-backup-directory (acdw/dir "scratch" t)
persistent-scratch-keep-n-newest-backups 12))
(persistent-scratch-setup-default))
(setup (:straight restart-emacs)
(defun emacs-upgrade (&optional update-packages)
"Pull config, upgrade packages, restart Emacs."