Add persistent-scratch
This commit is contained in:
parent
8e3d3480f1
commit
ce5f177d59
5
init.el
5
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."
|
||||
|
|
Loading…
Reference in New Issue