Enhance inhibit-message/redisplay and mode-line sections
This commit is contained in:
@@ -150,10 +150,7 @@ minimalistic appearance during startup.")
|
|||||||
(add-hook 'post-command-hook #'minimal-emacs--reset-inhibit-redisplay -100))
|
(add-hook 'post-command-hook #'minimal-emacs--reset-inhibit-redisplay -100))
|
||||||
|
|
||||||
(when minimal-emacs-inhibit-message-during-startup
|
(when minimal-emacs-inhibit-message-during-startup
|
||||||
;; Reset the above variables to prevent Emacs from appearing frozen or
|
|
||||||
;; visually corrupted after startup or if a startup error occurs.
|
|
||||||
(defun minimal-emacs--reset-inhibit-message ()
|
(defun minimal-emacs--reset-inhibit-message ()
|
||||||
;; (setq-default inhibit-redisplay nil) ; Can cause artifacts
|
|
||||||
(setq-default inhibit-message nil)
|
(setq-default inhibit-message nil)
|
||||||
(remove-hook 'post-command-hook #'minimal-emacs--reset-inhibit-message))
|
(remove-hook 'post-command-hook #'minimal-emacs--reset-inhibit-message))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user