Update the order of mode-line-format sexp
This commit is contained in:
@@ -120,7 +120,6 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
|
||||
101))
|
||||
|
||||
(unless noninteractive
|
||||
(unless minimal-emacs-debug
|
||||
(unless minimal-emacs-debug
|
||||
;; Suppress redisplay and redraw during startup to avoid delays and
|
||||
;; prevent flashing an unstyled Emacs frame.
|
||||
@@ -135,15 +134,14 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
|
||||
(remove-hook 'post-command-hook #'minimal-emacs--reset-inhibited-vars-h))
|
||||
|
||||
(add-hook 'post-command-hook
|
||||
#'minimal-emacs--reset-inhibited-vars-h -100))
|
||||
|
||||
(dolist (buf (buffer-list))
|
||||
(with-current-buffer buf
|
||||
(setq mode-line-format nil)))
|
||||
#'minimal-emacs--reset-inhibited-vars-h -100)
|
||||
|
||||
(put 'mode-line-format 'initial-value
|
||||
(default-toplevel-value 'mode-line-format))
|
||||
(setq-default mode-line-format nil)
|
||||
(dolist (buf (buffer-list))
|
||||
(with-current-buffer buf
|
||||
(setq mode-line-format nil)))
|
||||
|
||||
(defun minimal-emacs--startup-load-user-init-file (fn &rest args)
|
||||
"Advice for startup--load-user-init-file to reset mode-line-format."
|
||||
|
||||
Reference in New Issue
Block a user