fix: reset inhibit-* vars a mote more aggressively
There are still a few edge cases where inhibit-redisplay is never reset (usually involving errors at startup), leaving Emacs as a blank screen until the user performs an action that forces it to redraw (e.g. pressing M-x). This tries to address more of those.
This commit is contained in:
parent
e66a863e07
commit
dc035a652f
2 changed files with 20 additions and 26 deletions
|
@ -537,7 +537,6 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
|||
(nreverse new-specs)))
|
||||
(put face 'face-modified nil))
|
||||
('error
|
||||
(ignore-errors (doom--reset-inhibited-vars-h))
|
||||
(if (string-prefix-p "Font not available" (error-message-string e))
|
||||
(signal 'doom-font-error (list (font-get (cdr map) :family)))
|
||||
(signal (car e) (cdr e))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue