Function: repos-count-screen-lines

repos-count-screen-lines is a byte-compiled function defined in reposition.el.gz.

Signature

(repos-count-screen-lines START END)

Source Code

;; Defined in /usr/src/emacs/lisp/reposition.el.gz
;;; Auxiliary functions


;; Return number of screen lines between START and END.
(defun repos-count-screen-lines (start end)
  (save-excursion
    (save-restriction
      (narrow-to-region (point-min) end)
      (goto-char start)
      (vertical-motion (- (point-max) (point-min))))))