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.
This commit is contained in:
parent
995b40378d
commit
efa3e9791f
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue