[slime-cvs] CVS slime

CVS User sboukarev sboukarev at common-lisp.net
Wed Oct 20 11:42:20 UTC 2010


Update of /project/slime/cvsroot/slime
In directory cl-net:/tmp/cvs-serv7766

Modified Files:
	ChangeLog slime.el 
Log Message:
* slime.el (slime-connect): Convert the port number read from
minibuffer to an integer, passing it as a string to
`make-network-process' isn't portable.
Patch by Marko Kocic.


--- /project/slime/cvsroot/slime/ChangeLog	2010/10/19 16:57:32	1.2155
+++ /project/slime/cvsroot/slime/ChangeLog	2010/10/20 11:42:19	1.2156
@@ -1,3 +1,10 @@
+2010-10-20  Stas Boukarev  <stassats at gmail.com>
+
+	* slime.el (slime-connect): Convert the port number read from
+	minibuffer to an integer, passing it as a string to
+	`make-network-process' isn't portable.
+	Patch by Marko Kocic.
+
 2010-10-19  Stas Boukarev  <stassats at gmail.com>
 
 	* swank.lisp (invoke-nth-restart): Make sure there is such restart
--- /project/slime/cvsroot/slime/slime.el	2010/10/15 22:42:14	1.1347
+++ /project/slime/cvsroot/slime/slime.el	2010/10/20 11:42:20	1.1348
@@ -1182,9 +1182,9 @@
   (interactive (list (read-from-minibuffer
                       "Host: " (first slime-connect-host-history)
                       nil nil '(slime-connect-host-history . 1))
-                     (read-from-minibuffer
+                     (string-to-int (read-from-minibuffer
                       "Port: " (first slime-connect-port-history)
-                      nil nil '(slime-connect-port-history . 1))))
+                      nil nil '(slime-connect-port-history . 1)))))
   (when (and (interactive-p) slime-net-processes
              (y-or-n-p "Close old connections first? "))
     (slime-disconnect-all))





More information about the slime-cvs mailing list