[slime-cvs] CVS slime

CVS User sboukarev sboukarev at common-lisp.net
Fri Feb 18 20:12:06 UTC 2011


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

Modified Files:
	ChangeLog slime.el 
Log Message:
* slime.el (slime-insert-threads): Make sure newlines have the
same thread-id property as the rest of the line. This fixes
confusion when point is at the end of a line.


--- /project/slime/cvsroot/slime/ChangeLog	2011/02/13 05:46:21	1.2179
+++ /project/slime/cvsroot/slime/ChangeLog	2011/02/18 20:12:06	1.2180
@@ -1,3 +1,9 @@
+2011-02-18  Stas Boukarev  <stassats at gmail.com>
+
+	* slime.el (slime-insert-threads): Make sure newlines have the
+	same thread-id property as the rest of the line. This fixes
+	confusion when point is at the end of a line.
+
 2011-02-13  Stas Boukarev  <stassats at gmail.com>
 
 	* slime.el (slime-inspector-operate-on-point): Don't save the
--- /project/slime/cvsroot/slime/slime.el	2011/02/13 05:46:21	1.1358
+++ /project/slime/cvsroot/slime/slime.el	2011/02/18 20:12:06	1.1359
@@ -6206,7 +6206,6 @@
     (cons labels (cdr threads))))
 
 (defun slime-insert-thread (thread longest-lines)
-  (unless (bolp) (insert "\n"))
   (loop for i from 0
         for align in longest-lines
         for element in thread
@@ -6234,7 +6233,8 @@
           for thread in (cdr threads)
           do
           (slime-propertize-region `(thread-id ,index)
-            (slime-insert-thread thread longest-lines)))))
+            (slime-insert-thread thread longest-lines)
+            (insert "\n")))))
 
 
 ;;;;; Major mode





More information about the slime-cvs mailing list