diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el index 288e988..fbf5296 100644 --- a/init.el +++ b/init.el | |||
@@ -1794,7 +1794,12 @@ browser defined in `browse-url-secondary-browser-function'." | |||
1794 | (setup (:straight persistent-scratch) | 1794 | (setup (:straight persistent-scratch) |
1795 | (:option persistent-scratch-backup-directory (acdw/dir "scratch" t) | 1795 | (:option persistent-scratch-backup-directory (acdw/dir "scratch" t) |
1796 | persistent-scratch-keep-n-newest-backups 12) | 1796 | persistent-scratch-keep-n-newest-backups 12) |
1797 | (persistent-scratch-setup-default)) | 1797 | (persistent-scratch-setup-default) |
1798 | (mapc (lambda (buf) | ||
1799 | (with-current-buffer buf | ||
1800 | (when (funcall persistent-scratch-scratch-buffer-p-function) | ||
1801 | (persistent-scratch-mode +1)))) | ||
1802 | (buffer-list))) | ||
1798 | 1803 | ||
1799 | (setup (:straight restart-emacs) | 1804 | (setup (:straight restart-emacs) |
1800 | (defun emacs-upgrade (&optional update-packages) | 1805 | (defun emacs-upgrade (&optional update-packages) |