# HG changeset patch # User Eli Zaretskii # Date 1019218933 0 # Node ID 21cae71e2d9cadad0684f0efe8639f9ced74e6e7 # Parent 7248f6ca013da1363e073a8e549c6962a2471323 Update maintainer. (f90-line-continued): Recognize blank/comment lines embedded in continuation lines. (f90-looking-at-program-block-start): No extra indentation after function or subroutine keyword appears in single quotes. diff -r 7248f6ca013d -r 21cae71e2d9c lisp/progmodes/f90.el --- a/lisp/progmodes/f90.el Fri Apr 19 12:17:43 2002 +0000 +++ b/lisp/progmodes/f90.el Fri Apr 19 12:22:13 2002 +0000 @@ -3,7 +3,7 @@ ;; Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. ;; Author: Torbj\"orn Einarsson -;; Maintainer: Dave Love +;; Maintainer: Glenn Morris ;; Keywords: fortran, f90, languages ;; This file is part of GNU Emacs. @@ -874,6 +874,8 @@ (defsubst f90-line-continued () (save-excursion + (beginning-of-line) + (while (and (looking-at "[ \t]*\\(!\\|$\\)") (zerop (forward-line -1)))) (let ((bol (f90-get-beg-of-line))) (end-of-line) (while (f90-in-comment) @@ -994,7 +996,7 @@ (looking-at "\\(module\\)[ \t]+\\(\\sw+\\)\\>")) (list (f90-match-piece 1) (f90-match-piece 2))) ((and (not (looking-at "end[ \t]*\\(function\\|subroutine\\)")) - (looking-at "[^!\"\&\n]*\\(function\\|subroutine\\)[ \t]+\\(\\sw+\\)")) + (looking-at "[^!'\"\&\n]*\\(function\\|subroutine\\)[ \t]+\\(\\sw+\\)")) (list (f90-match-piece 1) (f90-match-piece 2))))) (defsubst f90-looking-at-program-block-end ()