]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify fortran-beginning-of-subprogram doc string after change
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 11 Dec 2020 15:17:31 +0000 (16:17 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 11 Dec 2020 15:17:36 +0000 (16:17 +0100)
* lisp/progmodes/fortran.el (fortran-beginning-of-subprogram):
Clarify doc string (bug#33208).

lisp/progmodes/fortran.el

index 90eda441fb7888078bdf3f395fed92aa05d65173..1142c323dc3b0842e692beb864f09403ca458eb9 100644 (file)
@@ -1220,7 +1220,8 @@ Auto-indent does not happen if a numeric ARG is used."
 ;; FIXME push-mark?
 (defun fortran-beginning-of-subprogram (&optional arg)
   "Move point to the beginning of the current Fortran subprogram.
-If ARG is negative, go to the beginning of the next instead."
+If ARG is negative, and point is between subprograms, the
+\"current\" subprogram is the next one."
   (interactive)
   (if (and arg
            (< arg 0))