From 00d1d6b90585b80d159e8a62cda31b73fec5b59d Mon Sep 17 00:00:00 2001 From: Bart Botta <00003b@gmail.com> Date: Sat, 19 Jul 2014 18:44:22 -0500 Subject: [PATCH] Fix source locations when recompiling from an xref buffer. From https://github.com/slime/slime/pull/175 * sly.el (sly-recompile-locations): pass full filenames to swank:compile-multiple-strings-for-emacs (cherry picked from SLIME commit 0249a079921b29ceb720c6524c30a7ee8d60a848) Conflicts: ChangeLog slime.el --- sly.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sly.el b/sly.el index 4bb1f6055..bcdcfc5b3 100644 --- a/sly.el +++ b/sly.el @@ -2573,7 +2573,7 @@ ASK asks the user." (sly-current-package) start (if (buffer-file-name) - (file-name-directory (buffer-file-name)) + (sly-to-lisp-filename (buffer-file-name)) nil))))) ',sly-compilation-policy) cont))