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

Helmut Eller heller at common-lisp.net
Fri Jan 16 21:24:51 UTC 2004


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

Modified Files:
	slime.el 
Log Message:
(slime-update-state-name): Take state as argument.
(slime-repl-beginning-of-defun, slime-repl-end-of-defun): Fix typos.
(sldb-insert-restarts): Remove duplicate definition.
Date: Fri Jan 16 16:24:51 2004
Author: heller

Index: slime/slime.el
diff -u slime/slime.el:1.179 slime/slime.el:1.180
--- slime/slime.el:1.179	Fri Jan 16 02:23:59 2004
+++ slime/slime.el	Fri Jan 16 16:24:51 2004
@@ -1367,10 +1367,10 @@
 the state name for the modeline."
   (let ((state (slime-current-state)))
     (when (eq (slime-connection) slime-default-connection)
-      (slime-update-state-name))
+      (slime-update-state-name state))
     (slime-dispatch-event '(activate))))
 
-(defun slime-update-state-name ()
+(defun slime-update-state-name (state)
   (slime-with-connection-buffer (slime-default-connection)
     (setq slime-state-name
           (ecase (slime-state-name state)
@@ -2069,14 +2069,14 @@
 (defun slime-repl-beginning-of-defun ()
   "Move to beginning of defun."
   (interactive)
-  (if (slime-in-input-area-p)
+  (if (slime-repl-in-input-area-p)
       (goto-char slime-repl-input-start-mark)
     (beginning-of-defun)))
 
 (defun slime-repl-end-of-defun ()
   "Move to next of defun."
   (interactive)
-  (if (slime-in-input-area-p)
+  (if (slime-repl-in-input-area-p)
       (goto-char slime-repl-input-end-mark)
     (end-of-defun)))
 
@@ -2962,7 +2962,7 @@
        slime-autodoc-mode
        (null (current-message))
        (not executing-kbd-macro)
-       (not (and (boundp 'edebug-active) edebug-active))
+       (not (and (boundp 'edebug-active) (symbol-value 'edebug-active)))
        (not cursor-in-echo-area)
        (not (eq (selected-window) (minibuffer-window)))
        (slime-connected-p)
@@ -3984,21 +3984,6 @@
             (in-sldb-face condition type)
             "\n\n")))
 
-(defun sldb-insert-restarts (restarts)
-  (loop for (name string) in restarts
-        for number from 0 
-        do (progn
-             (slime-insert-propertized
-              `(restart-number ,number
-                               sldb-default-action sldb-invoke-restart
-                               mouse-face highlight)
-              "  " (in-sldb-face restart-number 
-                                 (number-to-string number)) 
-                  ": ["  (in-sldb-face restart-type name) "] " 
-		  (in-sldb-face restart string))
-             (insert "\n")))
-  (insert "\n"))
-
 (defun sldb-setup (condition restarts frames)
   "Setup a new SLDB buffer.
 CONDITION is a string describing the condition to debug.
@@ -5373,6 +5358,7 @@
         slime-events-buffer
         slime-output-string 
         slime-output-buffer
+        slime-output-filter
         slime-with-output-end-mark
         ;; Compilation warns due to runtime call to a `cl' function. Annoying.
 ;;        slime-process-available-input 





More information about the slime-cvs mailing list