changeset 12715:ad18c3ad23b3

(fortran-break-line): Fixed a bug that sometimes deleted first character in statement field of continuation line.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Jul 1995 22:20:35 +0000
parents 192f537bca2a
children cadb9c7a1501
files lisp/progmodes/fortran.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/fortran.el	Sat Jul 29 01:40:43 1995 +0000
+++ b/lisp/progmodes/fortran.el	Sat Jul 29 22:20:35 1995 +0000
@@ -1507,9 +1507,8 @@
 			(or (looking-at "     [^ 0\n]")
 			    (looking-at "\t[1-9]")))
 	(progn
-	  (forward-line 1)
-	  (delete-indentation)
-	  (delete-char 2)
+	  (end-of-line)
+	  (delete-region (point) (match-end 0))
 	  (delete-horizontal-space)
 	  (fortran-do-auto-fill))
       (fortran-split-line))