summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@szymonszukalski.com>2026-04-13 09:35:17 +1000
committerSzymon Szukalski <szymon@szymonszukalski.com>2026-04-13 09:35:17 +1000
commitfea9aacb598d488a79a508906b72cdf7f3b6fe87 (patch)
tree0b7de7c7a61c3806290acc6c3d7b02bdcdb6d5ca
parente2b5fe56971c099ee29bf869769262d267461890 (diff)
Tighten startup Org validation flow
-rw-r--r--init.el5
1 files 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))