Tweaks for mode-line display at startup time
This commit is contained in:
parent
9faa1542cb
commit
c9e4864f50
|
@ -760,9 +760,6 @@ deleted safely."
|
|||
;; (message "orphans: %s" orphans)
|
||||
(if orphans
|
||||
(progn
|
||||
;; for the loading dot bar
|
||||
(when dotspacemacs-loading-progress-bar
|
||||
(spacemacs/append-to-buffer "OK!\n"))
|
||||
(spacemacs/append-to-buffer
|
||||
(format "Found %s orphan package(s) to delete...\n"
|
||||
orphans-count))
|
||||
|
|
|
@ -95,7 +95,8 @@ buffer, right justified."
|
|||
(goto-char (point-max))
|
||||
(let ((buffer-read-only nil))
|
||||
(insert msg)
|
||||
(if messagebuf (message "(Spacemacs) %s" msg)))))
|
||||
(if messagebuf (message "(Spacemacs) %s" msg)))
|
||||
(setq mode-line-format "")))
|
||||
|
||||
(defun spacemacs/replace-last-line-of-buffer (msg &optional messagebuf)
|
||||
"Replace the last line of the spacemacs buffer with MSG. If MESSAGEBUF is
|
||||
|
@ -105,7 +106,8 @@ buffer, right justified."
|
|||
(let ((buffer-read-only nil))
|
||||
(delete-region (line-beginning-position) (point-max))
|
||||
(insert msg)
|
||||
(if messagebuf (message "(Spacemacs) %s" msg)))))
|
||||
(if messagebuf (message "(Spacemacs) %s" msg)))
|
||||
(setq mode-line-format "")))
|
||||
|
||||
(defun spacemacs/loading-animation ()
|
||||
"Display LOADING-TITLE with trailing dots of max length
|
||||
|
|
Loading…
Reference in a new issue