summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))