]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 19eb1218a3a93acd9d6fc245222f4dd3d4a8a0c8..a0a4db58551524bd6a97c2bb286f1b63b459e58a 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))