diff lisp/progmodes/idlw-shell.el @ 104774:468b7fa34d2c

Use forward-line rather than goto-line.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Sep 2009 03:18:44 +0000
parents da8b3e61b182
children f8ba8d6fd250
line wrap: on
line diff
--- a/lisp/progmodes/idlw-shell.el	Tue Sep 01 03:17:28 2009 +0000
+++ b/lisp/progmodes/idlw-shell.el	Tue Sep 01 03:18:44 2009 +0000
@@ -2790,7 +2790,8 @@
 	     (or (not bp-line) (funcall closer-func cur-line bp-line)))
 	    (setq bp-line cur-line))))
     (unless bp-line (error "No further breakpoints"))
-    (goto-line bp-line)))
+    (goto-char (point-min))
+    (forward-line (1- bp-line))))
 
 ;; Examine Commands ------------------------------------------------------