Unset mode-line-format sooner in startup process

This commit is contained in:
Henrik Lissner 2017-06-24 02:06:52 +02:00
parent 5f141a82ab
commit e75bc10baa
2 changed files with 3 additions and 4 deletions

View file

@ -130,8 +130,6 @@ mode is detected.")
;; Bootstrap
;;
;; smoother startup when mode-line is invisible
(setq mode-line-format nil)
;; Prompts the user for confirmation when deleting a non-empty frame
(define-key global-map [remap delete-frame] #'doom/delete-frame)

View file

@ -116,13 +116,14 @@ melodramatic ex-vimmer disappointed with the text-editor status quo."
(setq custom-file (concat doom-etc-dir "custom.el"))
(load custom-file t t)
;; be quiet at startup; don't load anything unnecessary
;; be quiet at startup; don't load or display anything unnecessary
(advice-add #'display-startup-echo-area-message :override #'ignore)
(setq inhibit-startup-message t
inhibit-startup-echo-area-message user-login-name
inhibit-default-init t
initial-major-mode 'fundamental-mode
initial-scratch-message nil)
initial-scratch-message nil
mode-line-format nil)
;; Custom init hooks; clearer than `after-init-hook', `emacs-startup-hook', and
;; `window-setup-hook'.