core: filter out private vars in dotspacemacs/get-variable-string-list
This commit is contained in:
parent
d5d80eb1a1
commit
be7ba7f920
|
@ -480,8 +480,9 @@ Called with `C-u C-u' skips `dotspacemacs/user-config' _and_ preleminary tests."
|
|||
(lambda (x)
|
||||
(and (boundp x)
|
||||
(not (keywordp x))
|
||||
(string-prefix-p "dotspacemacs"
|
||||
(symbol-name x))))))
|
||||
;; avoid private variables to show up
|
||||
(not (string-match-p "--" (symbol-name x)))
|
||||
(string-prefix-p "dotspacemacs" (symbol-name x))))))
|
||||
|
||||
(defun dotspacemacs/get-variable-list ()
|
||||
"Return a list of all dotspacemacs variable symbols."
|
||||
|
|
Loading…
Reference in a new issue