[slime-cvs] CVS slime

trittweiler trittweiler at common-lisp.net
Sat Aug 9 10:49:48 UTC 2008


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

Modified Files:
	slime.el ChangeLog 
Log Message:

M-x slime doesn't destroy the window layout anymore when you
switch windows/frames while the connection is being set up.

* slime.el (slime-hide-inferior-lisp-buffer): Search for the
  inferior-lisp buffer's window in all frames.
  (slime-repl-update-banner): Do not pop to the REPL buffer.


--- /project/slime/cvsroot/slime/slime.el	2008/08/08 22:46:54	1.977
+++ /project/slime/cvsroot/slime/slime.el	2008/08/09 10:49:48	1.978
@@ -1448,7 +1448,7 @@
   "Display the REPL buffer instead of the *inferior-lisp* buffer."
   (let* ((buffer (if (slime-process) 
                      (process-buffer (slime-process))))
-         (window (if buffer (get-buffer-window buffer)))
+         (window (if buffer (get-buffer-window buffer t)))
          (repl-buffer (slime-output-buffer t))
          (repl-window (get-buffer-window repl-buffer)))
     (when buffer
@@ -2488,8 +2488,7 @@
   (goto-char (point-max))
   (slime-mark-output-start)
   (slime-mark-input-start)
-  (slime-repl-insert-prompt)
-  (pop-to-buffer (current-buffer)))
+  (slime-repl-insert-prompt))
 
 (defun slime-repl-insert-banner ()
   (when (zerop (buffer-size))
--- /project/slime/cvsroot/slime/ChangeLog	2008/08/08 22:46:54	1.1419
+++ /project/slime/cvsroot/slime/ChangeLog	2008/08/09 10:49:48	1.1420
@@ -1,3 +1,12 @@
+2008-08-09  Tobias C. Rittweiler  <tcr at freebits.de>
+
+	M-x slime doesn't destroy the window layout anymore when you
+	switch windows/frames while the connection is being set up.
+
+	* slime.el (slime-hide-inferior-lisp-buffer): Search for the
+	inferior-lisp buffer's window in all frames.
+	(slime-repl-update-banner): Do not pop to the REPL buffer.
+
 2008-08-08  Tobias C. Rittweiler  <tcr at freebits.de>
 
 	* slime.el: Fixing `q' in Xref buffers.




More information about the slime-cvs mailing list