branch: elpa/slime commit 11adf42f2e9b62aa21934094dba2d4b2671bfef0 Author: Stas Boukarev <stass...@gmail.com> Commit: Stas Boukarev <stass...@gmail.com>
Don't call probe-file on wild pathanmes. --- swank/source-file-cache.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swank/source-file-cache.lisp b/swank/source-file-cache.lisp index a419cc6339..fcaf2e0aa0 100644 --- a/swank/source-file-cache.lisp +++ b/swank/source-file-cache.lisp @@ -56,7 +56,8 @@ Maps from truename to source-cache-entry structure.") (defimplementation buffer-first-change (filename) "Load a file into the cache when the user modifies its buffer. This is a win if the user then saves the file and tries to M-. into it." - (when (probe-file filename) + (when (and (not (wild-pathname-p filename)) + (probe-file filename)) (unless (source-cached-p filename) (ignore-errors (source-cache-get filename (file-write-date filename)))))