[slime-cvs] CVS update: slime/slime.el

Dan Barlow dbarlow at common-lisp.net
Sat Nov 29 22:12:10 UTC 2003


Update of /project/slime/cvsroot/slime
In directory common-lisp.net:/tmp/cvs-serv10663

Modified Files:
	slime.el 
Log Message:
(slime-idle-state): added :debug as a valid transition

Date: Sat Nov 29 17:12:10 2003
Author: dbarlow

Index: slime/slime.el
diff -u slime/slime.el:1.118 slime/slime.el:1.119
--- slime/slime.el:1.118	Sat Nov 29 02:51:48 2003
+++ slime/slime.el	Sat Nov 29 17:12:09 2003
@@ -1230,10 +1230,14 @@
   "List of stack-tags of continuations waiting on the stack.")
 
 (slime-defstate slime-idle-state ()
-  "Idle state. The only event allowed is to make a request."
+  "Idle state. The user may make a request, or Lisp may invoke the debugger."
   ((activate)
    (assert (= sldb-level 0))
    (slime-repl-activate))
+  ((:debug level condition restarts frames)
+   (slime-push-state
+    (slime-debugging-state level condition restarts frames
+                           (current-window-configuration))))
   ((:emacs-evaluate form-string package-name continuation)
    (slime-output-evaluate-request form-string package-name)
    (slime-push-state (slime-evaluating-state continuation))))





More information about the slime-cvs mailing list