Fix and tweaks for startup lists

This commit is contained in:
syl20bnr 2015-04-02 00:12:19 -04:00
parent d478955481
commit f42b686f4c
3 changed files with 8 additions and 7 deletions

View File

@ -130,9 +130,9 @@ declared in a layer which is not a member of
specified with an installed package.
NOT USED FOR NOW :-)")
(defvar dotspacemacs-startup-lists '()
"Which file lists to show in the startup buffer. '() for none.
Options are: 'recent 'bookmarks 'projects.")
(defvar dotspacemacs-startup-lists '(recents projects)
"List of items to show in the startup buffer. If nil it is disabled.
Possible values are: `recents' `bookmarks' `projects'.")
(defvar dotspacemacs-excluded-packages '()
"A list of packages and/or extensions that will not be install and loaded.")

View File

@ -332,7 +332,8 @@ version and the NEW version."
;; Ultimate configuration decisions are given to the user who can defined
;; them in his/her ~/.spacemacs file
(dotspacemacs|call-func dotspacemacs/config "Calling dotfile config...")
(when 'dotspacemacs-startup-lists
;; Display useful lists of items
(when dotspacemacs-startup-lists
(spacemacs/insert-startupify-lists))
;; from jwiegley
;; https://github.com/jwiegley/dot-emacs/blob/master/init.el

View File

@ -35,6 +35,9 @@ before layers configuration."
;; If the value is nil then no banner is displayed.
;; dotspacemacs-startup-banner 'official
dotspacemacs-startup-banner 'official
;; List of items to show in the startup buffer. If nil it is disabled.
;; Possible values are: `recents' `bookmarks' `projects'."
dotspacemacs-startup-lists '(recents projects)
;; List of themes, the first of the list is loaded when spacemacs starts.
;; Press <SPC> T n to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light)
@ -108,9 +111,6 @@ before layers configuration."
;; specified with an installed package.
;; Not used for now.
dotspacemacs-default-package-repository nil
;; If one or more of ('recents 'projects 'bookmarks), shows lists of those
;; files at startup in that order.
dotspacemacs-startup-lists '(recents projects)
)
;; User initialization goes here
)