branch: elpa/slime
commit 6ee2e45e73bfa54f723625f13c5a95606ea0723b
Author: Stas Boukarev <[email protected]>
Commit: Stas Boukarev <[email protected]>

    load-file: use with-buffer-syntax.
---
 swank.lisp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/swank.lisp b/swank.lisp
index 7a8ebe3481..0a21461278 100644
--- a/swank.lisp
+++ b/swank.lisp
@@ -2524,7 +2524,8 @@ Record compiler notes signalled as `compiler-condition's."
 ;;;; Loading
 
 (defslimefun load-file (filename)
-  (to-string (load (filename-to-pathname filename))))
+  (with-buffer-syntax ()
+    (to-string (load (filename-to-pathname filename)))))
 
 
 ;;;;; swank-require

Reply via email to