]> git.eshelyaron.com Git - emacs.git/commitdiff
(add-log-current-defun): Use fortran-{beginning,end}-of-subprogram.
authorDave Love <fx@gnu.org>
Fri, 26 Nov 1999 17:35:33 +0000 (17:35 +0000)
committerDave Love <fx@gnu.org>
Fri, 26 Nov 1999 17:35:33 +0000 (17:35 +0000)
lisp/add-log.el

index 073a0ccd04409fed4bf3a4ebd8fc5438ea1c5fc1..cd41f1ac1d8db0c631e0102e5ef70335fdccb156 100644 (file)
@@ -665,13 +665,13 @@ Has a preference of looking backwards."
                     ;; 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)