diff options
author | Case Duckworth | 2021-08-30 08:51:54 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-30 08:51:54 -0500 |
commit | ce5f177d5926387eef92127390889aae96a4b66f (patch) | |
tree | 5fb173fb8390ed3ed636242bd76ea6d0490d5173 | |
parent | Make mastodon-mode better (diff) | |
download | emacs-ce5f177d5926387eef92127390889aae96a4b66f.tar.gz emacs-ce5f177d5926387eef92127390889aae96a4b66f.zip |
Add persistent-scratch
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el index aaa6c13..e4b87ab 100644 --- a/init.el +++ b/init.el | |||
@@ -1780,6 +1780,11 @@ successive invocations." | |||
1780 | (dolist (mode lispy-modes) | 1780 | (dolist (mode lispy-modes) |
1781 | (add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode))) | 1781 | (add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode))) |
1782 | 1782 | ||
1783 | (setup (:straight persistent-scratch) | ||
1784 | (:option persistent-scratch-backup-directory (acdw/dir "scratch" t) | ||
1785 | persistent-scratch-keep-n-newest-backups 12)) | ||
1786 | (persistent-scratch-setup-default)) | ||
1787 | |||
1783 | (setup (:straight restart-emacs) | 1788 | (setup (:straight restart-emacs) |
1784 | (defun emacs-upgrade (&optional update-packages) | 1789 | (defun emacs-upgrade (&optional update-packages) |
1785 | "Pull config, upgrade packages, restart Emacs." | 1790 | "Pull config, upgrade packages, restart Emacs." |