[slime-cvs] CVS slime

trittweiler trittweiler at common-lisp.net
Wed Sep 10 23:12:43 UTC 2008


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

Modified Files:
	slime.el ChangeLog 
Log Message:

	* slime.el (slime-popup-buffer-restore-snapshot): Make sure that
	the buffer-local variable containing the popup buffer's snapshot
	is set to nil in the right buffer.


--- /project/slime/cvsroot/slime/slime.el	2008/09/10 23:10:45	1.1009
+++ /project/slime/cvsroot/slime/slime.el	2008/09/10 23:12:43	1.1010
@@ -1047,9 +1047,10 @@
   (let ((buffer (current-buffer)))
     (when (slime-popup-buffer-snapshot-unchanged-p)
       (slime-popup-buffer-restore-snapshot))
-    (setq slime-popup-buffer-saved-emacs-snapshot nil)
-    (cond (kill-buffer-p (kill-buffer buffer))
-          (t (with-current-buffer buffer (bury-buffer))))))
+    (with-current-buffer buffer
+      (setq slime-popup-buffer-saved-emacs-snapshot nil) ; buffer-local var!
+      (cond (kill-buffer-p (kill-buffer nil))
+            (t (bury-buffer))))))
 
 (defun slime-popup-buffer-snapshot-unchanged-p ()
   (equalp (slime-current-emacs-snapshot-fingerprint)
--- /project/slime/cvsroot/slime/ChangeLog	2008/09/10 23:10:45	1.1496
+++ /project/slime/cvsroot/slime/ChangeLog	2008/09/10 23:12:43	1.1497
@@ -1,5 +1,11 @@
 2008-09-11  Tobias C. Rittweiler  <tcr at freebits.de>
 
+	* slime.el (slime-popup-buffer-restore-snapshot): Make sure that
+	the buffer-local variable containing the popup buffer's snapshot
+	is set to nil in the right buffer.
+
+2008-09-11  Tobias C. Rittweiler  <tcr at freebits.de>
+
 	Reimplement recompilation support. The previous implementation
 	involving specials was subtly broken with the :fd-handler
 	communcation-style, because of serve-event's polite interplay with




More information about the slime-cvs mailing list