Function: f90-previous-statement
f90-previous-statement is an interactive and byte-compiled function
defined in f90.el.gz.
Signature
(f90-previous-statement)
Documentation
Move point to beginning of the previous F90 statement.
If no previous statement is found (i.e. if called from the first statement in the buffer), move to the start of the buffer and return nil. A statement is a line which is neither blank nor a comment.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/f90.el.gz
(defun f90-previous-statement ()
"Move point to beginning of the previous F90 statement.
If no previous statement is found (i.e. if called from the first
statement in the buffer), move to the start of the buffer and
return nil. A statement is a line which is neither blank nor a
comment."
(interactive)
(let (not-first-statement)
(beginning-of-line)
(while (and (setq not-first-statement (zerop (forward-line -1)))
(looking-at "[ \t0-9]*\\(!\\|$\\|#\\)")))
not-first-statement))