[slime-devel] Canonicalizing filenames of non-existing files
Ariel Badichi
abadichi at bezeqint.net
Thu Feb 7 19:44:03 UTC 2008
The following patch makes it possible to canonicalize filenames of
non-existing files. This allows ED-IN-EMACS to edit new files.
Ariel
Index: swank.lisp
===================================================================
RCS file: /project/slime/cvsroot/slime/swank.lisp,v
retrieving revision 1.527
diff -u -r1.527 swank.lisp
--- swank.lisp 4 Feb 2008 20:35:11 -0000 1.527
+++ swank.lisp 7 Feb 2008 19:42:45 -0000
@@ -2171,7 +2171,7 @@
(setf *compiler-notes* '()))
(defun canonicalize-filename (filename)
- (namestring (truename filename)))
+ (namestring (or (probe-file filename) filename)))
(defslimefun compiler-notes-for-emacs ()
"Return the list of compiler notes for the last compilation unit."
More information about the slime-devel
mailing list