summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 0391d87..f87f1dd 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -1,5 +1,5 @@
-;;; Turn the menu, scroll-bar and tool-bar off quickly, so they don't
-;;; jump around as much.
+;;; Turn the menu, scroll-bar and tool-bar off quickly, emacs startup
+;;; isn't as jittery.
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
@@ -13,7 +13,9 @@ functionality deferred to a point after Emacs has initialized and
package.el is loaded anyway."
`(add-hook 'emacs-startup-hook #'(lambda () ,@body)))
-;;; Load my very own theme.
+;;; Load my very own theme. Wait until after Emacs initialization has
+;;; completed so we can be sure that `package-initialize' has been
+;;; called and the theme should be autoloaded.
(eval-after-init (load-theme 'yoshi t))
;;; Add some project directories and my site-lisp directory to the