Skip to content

Commit c4b5445

Browse files
committed
Ensure that the correct string type (a simple one) is passed on.
1 parent 1e4b741 commit c4b5445

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/swank-fuzzy.lisp

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ designator's format. The cases are as follows:
7474
(zerop time-limit-in-msec)))
7575
(time-limit (if no-time-limit-p nil time-limit-in-msec)))
7676
(multiple-value-bind (completion-set interrupted-p)
77-
(fuzzy-completion-set string default-package-name :limit limit
77+
;; Deep down there's a type SIMPLE-STRING required...
78+
(fuzzy-completion-set (coerce string 'simple-string)
79+
default-package-name :limit limit
7880
:time-limit-in-msec time-limit)
7981
;; We may send this as elisp [] arrays to spare a coerce here,
8082
;; but then the network serialization were slower by handling arrays.

0 commit comments

Comments
 (0)