summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.el b/init.el
index b7c767d..4cd3d1d 100644
--- a/init.el
+++ b/init.el
@@ -7,6 +7,10 @@
)
;; Initialize some customizations early on to avoid flicker
+(when window-system
+ (tooltip-mode -1)
+ (tool-bar-mode -1))
+(menu-bar-mode -1)
(setq warning-suppress-types nil)
(set-face-background 'default "black")
(set-face-foreground 'default "white")
@@ -17,10 +21,6 @@
(find-if (lambda (f) (find-font (font-spec :name f))) fonts))
(let ((fontval (font-candidate '"Inconsolata" "Source Code Pro" "Anonymous Pro")))
(when fontval (set-face-attribute 'default nil :font fontval)))
-(when window-system
- (tooltip-mode -1)
- (tool-bar-mode -1))
-(menu-bar-mode -1)
(setq custom-file (concat ravi/init-dir "custom.el"))
;; Initialize package handling: currently using only the official repository and MELPA