[slime-cvs] CVS slime/contrib

CVS User sboukarev sboukarev at common-lisp.net
Sat May 1 06:12:30 UTC 2010


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

Modified Files:
	ChangeLog slime-repl.el 
Log Message:
* contrib/slime-repl.el (slime-repl-update-banner): Use slime-move-point
instead of goto-char alone, ensuring that the point is moved even
if the window isn't currently selected.

* slime.el (slime-restart-sentinel): Don't pop to the inferior
buffer, since this command is usually run either from
*inferior-lisp* buffer or from REPL, it makes sense to reuse
current window instead of messing up window configuration.
(slime-move-point): New function, moves point in a buffer and
its window.


--- /project/slime/cvsroot/slime/contrib/ChangeLog	2010/04/18 01:35:10	1.371
+++ /project/slime/cvsroot/slime/contrib/ChangeLog	2010/05/01 06:12:30	1.372
@@ -1,3 +1,9 @@
+2010-05-01  Stas Boukarev  <stassats at gmail.com>
+
+	* slime-repl.el (slime-repl-update-banner): Use slime-move-point
+	instead of goto-char alone, ensuring that the point is moved even
+	if the window isn't currently selected.
+
 2010-04-18  Stas Boukarev  <stassats at gmail.com>
 
 	* slime-presentations.el
--- /project/slime/cvsroot/slime/contrib/slime-repl.el	2010/04/05 23:45:23	1.40
+++ /project/slime/cvsroot/slime/contrib/slime-repl.el	2010/05/01 06:12:30	1.41
@@ -134,7 +134,7 @@
 
 (defun slime-repl-update-banner ()
   (funcall slime-repl-banner-function)
-  (goto-char (point-max))
+  (slime-move-point (point-max))
   (slime-mark-output-start)
   (slime-mark-input-start)
   (slime-repl-insert-prompt))





More information about the slime-cvs mailing list