perf: inhibit display-startup-screen
This commit is contained in:
parent
5bfe0ba53f
commit
fbe94ba9f2
1 changed files with 5 additions and 0 deletions
|
@ -361,6 +361,11 @@ users).")
|
||||||
;; PERF,UX: Remove "For information about GNU Emacs..." message at startup.
|
;; PERF,UX: Remove "For information about GNU Emacs..." message at startup.
|
||||||
;; It's redundant with our dashboard and incurs a premature redraw.
|
;; It's redundant with our dashboard and incurs a premature redraw.
|
||||||
(advice-add #'display-startup-echo-area-message :override #'ignore)
|
(advice-add #'display-startup-echo-area-message :override #'ignore)
|
||||||
|
;; PERF: Suppress the vanilla startup screen completely. We've disabled it
|
||||||
|
;; with `inhibit-startup-screen', but it would still initialize anyway.
|
||||||
|
;; This involves some file IO and/or bitmap work (depending on the frame
|
||||||
|
;; type) that we can no-op for a free 50-100ms boost in startup time.
|
||||||
|
(advice-add #'display-startup-screen :override #'ignore)
|
||||||
|
|
||||||
;; PERF: Shave seconds off startup time by starting the scratch buffer in
|
;; PERF: Shave seconds off startup time by starting the scratch buffer in
|
||||||
;; `fundamental-mode', rather than, say, `org-mode' or `text-mode', which
|
;; `fundamental-mode', rather than, say, `org-mode' or `text-mode', which
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue