Add variable dotspacemacs-verbose-loading
By default to nil. Can speedup the loading process.
This commit is contained in:
parent
9f25277af0
commit
f72088e74b
|
@ -16,6 +16,9 @@
|
|||
(defconst dotspacemacs-filepath "~/.spacemacs"
|
||||
"Filepath to the installed dotfile.")
|
||||
|
||||
(defvar dotspacemacs-verbose-loading nil
|
||||
"If non nil output loading progess in `*Messages*' buffer.")
|
||||
|
||||
(defvar dotspacemacs-configuration-layer-path '()
|
||||
"List of additional paths where to look for configuration layers.
|
||||
Paths must have a trailing slash (ie. `~/.mycontribs/')")
|
||||
|
|
|
@ -110,7 +110,8 @@ buffer, right justified."
|
|||
|
||||
(defun spacemacs/message (msg &rest args)
|
||||
"Display MSG in message prepended with '(Spacemacs)'."
|
||||
(message "(Spacemacs) %s" (apply 'format msg args)))
|
||||
(when dotspacemacs-verbose-loading
|
||||
(message "(Spacemacs) %s" (apply 'format msg args))))
|
||||
|
||||
(defun spacemacs/insert-page-break ()
|
||||
"Insert a page break line in spacemacs buffer."
|
||||
|
|
|
@ -30,6 +30,8 @@ before layers configuration."
|
|||
;; Either `vim' or `emacs'. Evil is always enabled but if the variable
|
||||
;; is `emacs' then the `holy-mode' is enabled at startup.
|
||||
dotspacemacs-editing-style 'vim
|
||||
;; If non nil output loading progess in `*Messages*' buffer.
|
||||
dotspacemacs-verbose-loading nil
|
||||
;; Specify the startup banner. Default value is `official', it displays
|
||||
;; the official spacemacs logo. An integer value is the index of text
|
||||
;; banner, `random' chooses a random text banner in `core/banners'
|
||||
|
|
Loading…
Reference in New Issue