Skip to content

Commit e252b64

Browse files
committed
ivy: spacemacs-help: Fix candidate layers with no packages
When a layer doesn't have a package, it's 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.
1 parent 00925c8 commit e252b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layers/+completion/ivy/local/ivy-spacemacs-help/ivy-spacemacs-help.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
layer
231231
(propertize "no packages"
232232
'face 'warning))
233-
layer
233+
(symbol-name layer)
234234
nil)
235235
result))
236236
(sort result (lambda (a b) (string< (car a) (car b))))))

0 commit comments

Comments
 (0)