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

Luke Gorrie lgorrie at common-lisp.net
Wed Jun 30 20:55:33 UTC 2004


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

Modified Files:
	slime.el 
Log Message:
(line-beginning-position, line-end-position): Simple bugfix
suggested by Richard Klinda.

Date: Wed Jun 30 13:55:33 2004
Author: lgorrie

Index: slime/slime.el
diff -u slime/slime.el:1.350 slime/slime.el:1.351
--- slime/slime.el:1.350	Wed Jun 30 11:59:45 2004
+++ slime/slime.el	Wed Jun 30 13:55:33 2004
@@ -7404,13 +7404,12 @@
 
 (slime-defun-if-undefined line-beginning-position (&optional n)
   (save-excursion
-    (forward-line n)
+    (beginning-of-line n)
     (point)))
 
 (slime-defun-if-undefined line-end-position (&optional n)
   (save-excursion
-    (forward-line n)
-    (end-of-line)
+    (end-of-line n)
     (point)))
 
 (slime-defun-if-undefined check-parens ()





More information about the slime-cvs mailing list