From ce5f177d5926387eef92127390889aae96a4b66f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Aug 2021 08:51:54 -0500 Subject: Add persistent-scratch --- init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index aaa6c13..e4b87ab 100644 --- a/init.el +++ b/init.el @@ -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." -- cgit 1.4.1-21-gabe81