[slime-cvs] CVS slime

trittweiler trittweiler at common-lisp.net
Thu Aug 16 08:26:48 UTC 2007


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

Modified Files:
	slime.el 
Log Message:
* slime.el (slime-process-available-input): Correct yesterday's
  change: the buffer a request was originally performed in doesn't
  necessarily exist at this time anymore, so we check for buffer
  liveness now.

  The problem arised when quitting in SLDB which would cause Swank
  to send a `:debug-return' message before the acknowledgement
  message for `sldb-quit' is sent. So the acknowledgement is
  received in a context where the sldb-buffer is closed already.


--- /project/slime/cvsroot/slime/slime.el	2007/08/15 15:10:29	1.797
+++ /project/slime/cvsroot/slime/slime.el	2007/08/16 08:26:33	1.798
@@ -2017,7 +2017,10 @@
           (slime-log-event event)
           (let ((ok nil))
             (unwind-protect
-                 (with-current-buffer original-buffer
+                 (with-current-buffer 
+                     (if (buffer-live-p original-buffer)
+                         original-buffer
+                         (current-buffer))
                    (slime-dispatch-event event process)
                    (setq ok t))
               (unless ok 




More information about the slime-cvs mailing list