diff options
Diffstat (limited to '.emacs.d/early-init.el')
-rw-r--r-- | .emacs.d/early-init.el | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 495c277..1e13ee8 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -5,8 +5,8 @@ ;; Initialise installed packages (setq package-enable-at-startup t) -;; Do not report warning errors -(setq native-comp-async-report-warnings-errors 'silent) +;; Do not report warning errors +(setq native-comp-async-report-warnings-errors 'silent) ;; Truly maximize screen (setq frame-resize-pixelwise t) @@ -17,4 +17,14 @@ ;; No need for titlebar (modify-frame-parameters nil '((undecorated . t))) +(defun rul-emacs-avoid-initial-flash-of-light () + "Avoid flash of light when starting Emacs. Inspired on + prot-emacs-avoid-initial-flash-of-light." + (setq mode-line-format nil) + (set-face-attribute 'default nil :background "#000000" :foreground "#ffffff") + (set-face-attribute 'mode-line nil :background "#000000" :foreground "#ffffff" :box 'unspecified) + ) + +(rul-emacs-avoid-initial-flash-of-light) + ;;; early-init.el ends here |