From b8313955da4d0a55660fdec0b64ddb24df2ba6a7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 29 Jul 1995 22:20:35 +0000 Subject: [PATCH] (fortran-break-line): Fixed a bug that sometimes deleted first character in statement field of continuation line. --- lisp/progmodes/fortran.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 19eb1218a3a..a0a4db58551 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el @@ -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)) -- 2.39.2