From efa3e9791f76f7d51537d9cbce5a6ed9b2081a69 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 24 Aug 2022 21:34:48 +0200 Subject: [PATCH] fix: remove inhibit-redisplay hack If an error occurs before this is restored, this can leave Emacs in a state where it appears frozen and won't redraw. This can be overcome by hooking into the debugger, but I'll try that another day. --- early-init.el | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/early-init.el b/early-init.el index 4335f8db1..009c6678a 100644 --- a/early-init.el +++ b/early-init.el @@ -47,16 +47,6 @@ old-file-name-handler-alist)))) (add-hook 'emacs-startup-hook #'doom-reset-file-handler-alist-h 101)) - ;; Premature redisplays can substantially affect startup times and produce - ;; ugly flashes of unstyled Emacs. - (setq-default inhibit-redisplay t - inhibit-message t) - (add-hook 'window-setup-hook - (lambda () - (setq-default inhibit-redisplay nil - inhibit-message nil) - (redisplay))) - ;; Site files tend to use `load-file', which emits "Loading X..." messages in ;; the echo area, which in turn triggers a redisplay. Redisplays can have a ;; substantial effect on startup times and in this case happens so early that