From f08870dbc927018c79e8bae0e1fc527da43dab93 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Wed, 15 Jan 2025 16:56:12 -0700 Subject: [PATCH] fix: Change deferral of persistent-scratch - Previously caused issues when switching to your first buffer --- users/crumb/programs/emacs/modules/syd-scratch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/crumb/programs/emacs/modules/syd-scratch.el b/users/crumb/programs/emacs/modules/syd-scratch.el index 445d3f3..9d4137e 100644 --- a/users/crumb/programs/emacs/modules/syd-scratch.el +++ b/users/crumb/programs/emacs/modules/syd-scratch.el @@ -6,7 +6,7 @@ ;; between boots. ;; TODO: This could be deferred better. (use-package persistent-scratch - :hook (on-first-buffer) + :hook (on-first-input) :custom (persistent-scratch-save-file (file-name-concat syd-data-dir "scratch")) :config