Skip to content
Browse files

Load custom variables first, UI initializer last

Prevents gray background from kicking in after UI theme
has been applied.
  • Loading branch information...
1 parent 5b6c5eb commit a94b1e4cb32a2968b2a6ec9aebbe96a70e081e16 Michael Klishin committed
Showing with 8 additions and 9 deletions.
  1. +4 −4 boot.el
  2. +4 −5 initializers/ui_initializer.el
View
8 boot.el
@@ -21,13 +21,13 @@
(defvar byte-compile-verbose t)
;; (load-initializer "bytecode_cache")
+(load "custom-variables")
+
(load-initializer "elisp")
(load-initializer "path")
(load-initializer "kbd")
-(load-initializer "yasnippet")
-(load-initializer "ui")
(load-initializer "ido")
+(load-initializer "yasnippet")
(load-initializer "bundles")
(load-initializer "scratches")
-
-(load "custom-variables")
+(load-initializer "ui")
View
9 initializers/ui_initializer.el
@@ -20,11 +20,6 @@
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
-;; set dark background
-(set-background-color "Black")
-(set-foreground-color "White")
-(set-cursor-color "yellow")
-
;; yes, use transient mark mode
(transient-mark-mode t)
@@ -33,6 +28,10 @@
(column-number-mode)
+;; set dark background
+(set-background-color "Black")
+(set-foreground-color "White")
+(set-cursor-color "yellow")
;; color themes
(add-to-list 'load-path "~/emacsd/bundles/color_themes")

0 comments on commit a94b1e4

Please sign in to comment.
Something went wrong with that request. Please try again.