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

Luke Gorrie lgorrie at common-lisp.net
Wed Oct 22 17:48:11 UTC 2003


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

Modified Files:
	slime.el 
Log Message:
(slime-space): Now allows one to insert several spaces with a prefix
argument. (Patch from Hannu Koivisto)

Date: Wed Oct 22 13:48:11 2003
Author: lgorrie

Index: slime/slime.el
diff -u slime/slime.el:1.52 slime/slime.el:1.53
--- slime/slime.el:1.52	Tue Oct 21 16:51:44 2003
+++ slime/slime.el	Wed Oct 22 13:48:11 2003
@@ -1546,11 +1546,12 @@
 
 ;;; Arglist Display
 
-(defun slime-space ()
+(defun slime-space (n)
   "Insert a space and print some relevant information (function arglist).
-Designed to be bound to the SPC key."
-  (interactive)
-  (insert " ")
+Designed to be bound to the SPC key.  Prefix argument can be used to insert
+more than one space."
+  (interactive "p")
+  (self-insert-command n)
   (when (and (slime-connected-p)
              (not (slime-busy-p))
              (slime-function-called-at-point/line))





More information about the slime-cvs mailing list