perf: inhibit redisplay when loading modules
Some packages my force a redraw for no good reason.
This commit is contained in:
parent
e431dbc138
commit
db09cb001f
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ symbols, and that module's plist."
|
||||||
(declare (pure t) (side-effect-free t))
|
(declare (pure t) (side-effect-free t))
|
||||||
(lambda (module plist)
|
(lambda (module plist)
|
||||||
(let ((doom--current-module module)
|
(let ((doom--current-module module)
|
||||||
(doom--current-flags (plist-get plist :flags)))
|
(doom--current-flags (plist-get plist :flags))
|
||||||
|
(inhibit-redisplay t))
|
||||||
(load! file (plist-get plist :path) t))))
|
(load! file (plist-get plist :path) t))))
|
||||||
|
|
||||||
(defun doom-initialize-modules (&optional force-p no-config-p)
|
(defun doom-initialize-modules (&optional force-p no-config-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue