(fortran-start-prog-re): New constant, extracted from fortran-current-defun.
authorGlenn Morris <rgm@gnu.org>
Sun, 30 Aug 2009 01:38:09 +0000 (01:38 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 30 Aug 2009 01:38:09 +0000 (01:38 +0000)
commit4a948dbfcf14c0ea68745b54490c3b3711f76eb3
tree352cc28eb1ff04a19e0d6f7fc465b6d993f6c09f
parent486cf3b876103af5d21eb4834cfcf1fe51c94985
(fortran-start-prog-re): New constant, extracted from fortran-current-defun.
(fortran-beginning-of-subprogram): Be more precise about finding the
start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
(fortran-end-of-subprogram): Simplify.
(fortran-current-defun): Use fortran-start-prog-re.
lisp/ChangeLog
lisp/progmodes/fortran.el