Skip to content

Commit 59b3d5e

Browse files
committed
Fix occasional (wrong-type-argument stringp nil)
1 parent 3487955 commit 59b3d5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cider-interaction.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,8 @@ If location could not be found, return nil."
13991399
(let ((file (nth 0 info))
14001400
(line (nth 1 info))
14011401
(col (nth 2 info)))
1402-
(unless (cider--tooling-file-p file)
1402+
(unless (or (not (stringp file))
1403+
(cider--tooling-file-p file))
14031404
(-when-let (buffer (cider-find-file file))
14041405
(with-current-buffer buffer
14051406
(save-excursion

0 commit comments

Comments
 (0)