Automatically call persistent-scratch-mode on *scratch*
This commit is contained in:
parent
31d5d1f4ce
commit
e299de4a0f
7
init.el
7
init.el
|
@ -1794,7 +1794,12 @@ browser defined in `browse-url-secondary-browser-function'."
|
|||
(setup (:straight persistent-scratch)
|
||||
(:option persistent-scratch-backup-directory (acdw/dir "scratch" t)
|
||||
persistent-scratch-keep-n-newest-backups 12)
|
||||
(persistent-scratch-setup-default))
|
||||
(persistent-scratch-setup-default)
|
||||
(mapc (lambda (buf)
|
||||
(with-current-buffer buf
|
||||
(when (funcall persistent-scratch-scratch-buffer-p-function)
|
||||
(persistent-scratch-mode +1))))
|
||||
(buffer-list)))
|
||||
|
||||
(setup (:straight restart-emacs)
|
||||
(defun emacs-upgrade (&optional update-packages)
|
||||
|
|
Loading…
Reference in New Issue