Function: forms-last-record
forms-last-record is an interactive and byte-compiled function defined
in forms.el.gz.
Signature
(forms-last-record)
Documentation
Jump to last record.
As a side effect: re-calculates the number of records in the data file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/forms.el.gz
(defun forms-last-record ()
"Jump to last record.
As a side effect: re-calculates the number of records in the data file."
(interactive)
(let
((numrec
(with-current-buffer forms--file-buffer
(count-lines (point-min) (point-max)))))
(if (= numrec forms--total-records)
nil
(setq forms--total-records numrec)
(message "Warning: number of records changed to %d" forms--total-records)))
(forms-jump-record forms--total-records))