changeset 26618:d09cca4b3d50

(add-log-current-defun): Use fortran-{beginning,end}-of-subprogram.
author Dave Love <fx@gnu.org>
date Fri, 26 Nov 1999 17:35:33 +0000
parents 2cde2efdc20f
children 53b7c03dd560
files lisp/add-log.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/add-log.el	Fri Nov 26 17:34:46 1999 +0000
+++ b/lisp/add-log.el	Fri Nov 26 17:35:33 1999 +0000
@@ -665,13 +665,13 @@
 		     ;; Needs work for f90, but better than nothing.
 		     (eq major-mode 'f90-mode))
                  ;; must be inside function body for this to work
-                 (beginning-of-fortran-subprogram)
+                 (fortran-beginning-of-subprogram)
                  (let ((case-fold-search t)) ; case-insensitive
                    ;; search for fortran subprogram start
                    (if (re-search-forward
                         "^[ \t]*\\(program\\|subroutine\\|function\
 \\|[ \ta-z0-9*()]*[ \t]+function\\|\\(block[ \t]*data\\)\\)"
-                        (save-excursion (end-of-fortran-subprogram)
+                        (save-excursion (fortran-end-of-subprogram)
                                         (point))
                         t)
                        (or (match-string 2)