]> git.eshelyaron.com Git - emacs.git/commitdiff
(fortran-check-end-prog-re): Allow trailing
authorDave Love <fx@gnu.org>
Wed, 9 Dec 1998 16:38:37 +0000 (16:38 +0000)
committerDave Love <fx@gnu.org>
Wed, 9 Dec 1998 16:38:37 +0000 (16:38 +0000)
comment.

lisp/progmodes/fortran.el

index 10ff6f93a239bbb53272d2853f66ed82961ce2e3..004fe94643697997c8f3616965e2e6d52feb0cf9 100644 (file)
@@ -925,7 +925,7 @@ Auto-indent does not happen if a numeric ARG is used."
   ;; Having got a possible match for the subprogram end, we need a
   ;; match of whitespace, avoiding possible column 73+ stuff.
   (save-match-data
-    (string-match "^\\s-*\\'"
+    (string-match "^\\s-*\\(\\'\\|\\s<\\)"
                  (buffer-substring (match-end 0)
                                    (min (line-end-position)
                                         (+ 72 (line-beginning-position)))))))