Skip to content

Commit

Permalink
ivy: spacemacs-help: Fix candidate layers with no packages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nikital committed Dec 15, 2017
1 parent 00925c8 commit 0d69da4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))))))
Expand Down

0 comments on commit 0d69da4

Please sign in to comment.