From fea9aacb598d488a79a508906b72cdf7f3b6fe87 Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Mon, 13 Apr 2026 09:35:17 +1000 Subject: Tighten startup Org validation flow --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 0bbdcf5..b0a5ce8 100644 --- a/init.el +++ b/init.el @@ -36,9 +36,9 @@ (setq initial-buffer-choice (lambda () - (require 'org-agenda) - (if org-agenda-files + (if (file-exists-p org-default-notes-file) (progn + (require 'org-agenda) (org-agenda nil "h") (current-buffer)) (get-buffer-create "*scratch*")))) @@ -86,6 +86,7 @@ echo-keystrokes 0.1 enable-recursive-minibuffers t gc-cons-threshold (* 128 1024 1024) + gc-cons-percentage 0.1 mouse-wheel-follow-mouse t mouse-wheel-progressive-speed nil mouse-wheel-scroll-amount '(1 ((shift) . 1)) -- cgit v1.2.3