[slime-cvs] CVS update: slime/slime.el

Luke Gorrie lgorrie at common-lisp.net
Thu Nov 27 01:24:43 UTC 2003


Update of /project/slime/cvsroot/slime
In directory common-lisp.net:/tmp/cvs-serv13585

Modified Files:
	slime.el 
Log Message:
(slime-swank-port-file): Use `temporary-file-directory' instead of
hardcoding "/tmp/".

Date: Wed Nov 26 20:24:43 2003
Author: lgorrie

Index: slime/slime.el
diff -u slime/slime.el:1.113 slime/slime.el:1.114
--- slime/slime.el:1.113	Wed Nov 26 19:50:52 2003
+++ slime/slime.el	Wed Nov 26 20:24:43 2003
@@ -786,7 +786,7 @@
 
 (defun slime-swank-port-file ()
   "Filename where the SWANK server writes its TCP port number."
-  (format "/tmp/slime.%S" (emacs-pid)))
+  (concat temporary-file-directory (format "slime.%S" (emacs-pid))))
 
 (defun slime-read-swank-port ()
   "Read the Swank server port number from the `slime-swank-port-file'."





More information about the slime-cvs mailing list