ivy: spacemacs-help: Fix candidate layers with no packages

When a layer doesn't have a package, its name was added to the candidate list as
a symbol instead of a string, breaking actions such as
layer-action-open-packages which expect a string.
This commit is contained in:
Nikita Leshenko 2017-12-15 17:15:48 +02:00 committed by syl20bnr
parent 70925f3fba
commit d0089a23de
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@
layer
(propertize "no packages"
'face 'warning))
layer
(symbol-name layer)
nil)
result))
(sort result (lambda (a b) (string< (car a) (car b))))))