mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
perf: inhibit redisplay when loading modules
Some packages my force a redraw for no good reason.
This commit is contained in:
@ -102,7 +102,8 @@ symbols, and that module's plist."
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(lambda (module plist)
|
||||
(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))))
|
||||
|
||||
(defun doom-initialize-modules (&optional force-p no-config-p)
|
||||
|
Reference in New Issue
Block a user