fixup! Validate .spacemacs variables.

fixes #14535 #14537 #14529 https://github.com/syl20bnr/spacemacs/issues/10638#issuecomment-803247326
This commit is contained in:
Lucius Hu 2021-03-20 18:49:57 -04:00 committed by Eugene Yaremenko
parent 3e156ec763
commit 5830e72b60
1 changed files with 4 additions and 2 deletions

View File

@ -184,7 +184,9 @@ in `dotspacemacs-themes'.")
`hybrid state' with `emacs' key bindings. The value can also be a list
with `:variables' keyword (similar to layers). Check the editing styles
section of the documentation for details on available variables."
'(choice (const vim) (const emacs) (const hybrid))
'(choice (const vim (cons symbol sexp))
(const emacs (cons symbol sexp))
(const hybrid (cons symbol sexp)))
'spacemacs-dotspacemacs-init)
(spacemacs|defc dotspacemacs-startup-banner 'official
@ -233,7 +235,7 @@ whenever you start Emacs."
"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"
'(repeat symbol)
'(repeat (choice symbol (cons symbol sexp)))
'spacemacs-dotspacemacs-init)
(spacemacs|defc dotspacemacs-mode-line-theme '(spacemacs