[slime-cvs] CVS slime

mbaringer mbaringer at common-lisp.net
Sun Apr 8 11:17:14 UTC 2007


Update of /project/slime/cvsroot/slime
In directory clnet:/tmp/cvs-serv31394

Modified Files:
	slime.el ChangeLog 
Log Message:


--- /project/slime/cvsroot/slime/slime.el	2007/04/08 11:12:23	1.776
+++ /project/slime/cvsroot/slime/slime.el	2007/04/08 11:17:13	1.777
@@ -6671,7 +6671,9 @@
 (defun slime-fuzzy-highlight-current-completion ()
   "Highlights the current completion, so that the user can see it on the screen."
   (let ((pos (point)))
-    (setq slime-fuzzy-current-completion-overlay (make-overlay (point) (search-forward " ") (current-buffer) t nil))
+    (setq slime-fuzzy-current-completion-overlay 
+          (make-overlay (point) (1- (search-forward " "))
+                        (current-buffer) t nil))
     (overlay-put slime-fuzzy-current-completion-overlay 'face 'secondary-selection)
     (goto-char pos)))
 
--- /project/slime/cvsroot/slime/ChangeLog	2007/04/08 11:12:24	1.1092
+++ /project/slime/cvsroot/slime/ChangeLog	2007/04/08 11:17:13	1.1093
@@ -1,5 +1,12 @@
 2007-04-06  Tobias C. Rittweiler <tcr at freebits.de>
 
+	* slime.el (slime-fuzzy-highlight-current-completion): Fix
+	off-by-one error that causes the currently selected 
+	completion in the *Fuzzy Completion* buffer be highlighted
+	one char too far.
+	
+2007-04-06  Tobias C. Rittweiler <tcr at freebits.de>
+
 	* swank.lisp: Cleanup of parts of the fuzzy completion code.
 	Additionally a couple of enhancements. As follows:
 	




More information about the slime-cvs mailing list