From: Richard M. Stallman Date: Sat, 29 Jul 1995 22:20:35 +0000 (+0000) Subject: (fortran-break-line): Fixed a bug that sometimes X-Git-Tag: emacs-19.34~3145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8313955da4d0a55660fdec0b64ddb24df2ba6a7;p=emacs.git (fortran-break-line): Fixed a bug that sometimes deleted first character in statement field of continuation line. --- 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))