(fortran-break-line): Fixed a bug that sometimes
authorRichard M. Stallman <rms@gnu.org>
Sat, 29 Jul 1995 22:20:35 +0000 (22:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 29 Jul 1995 22:20:35 +0000 (22:20 +0000)
deleted first character in statement field of continuation line.

lisp/progmodes/fortran.el

index 19eb121..a0a4db5 100644 (file)
@@ -1507,9 +1507,8 @@ automatically breaks the line at a previous space."
                        (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))