From 59b3d5edd91fdf7424f1024bdb0b92fe7f1fba09 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sat, 13 Jun 2015 14:50:20 +0100 Subject: [PATCH] Fix occasional (wrong-type-argument stringp nil) --- cider-interaction.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cider-interaction.el b/cider-interaction.el index 35de841da..7aa9b593b 100644 --- a/cider-interaction.el +++ b/cider-interaction.el @@ -1399,7 +1399,8 @@ If location could not be found, return nil." (let ((file (nth 0 info)) (line (nth 1 info)) (col (nth 2 info))) - (unless (cider--tooling-file-p file) + (unless (or (not (stringp file)) + (cider--tooling-file-p file)) (-when-let (buffer (cider-find-file file)) (with-current-buffer buffer (save-excursion