Function: te-set-more-count
te-set-more-count is a byte-compiled function defined in
terminal.el.gz.
Signature
(te-set-more-count NEWLINE)
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/terminal.el.gz
(defun te-set-more-count (newline)
(let ((line (/ (- (point) (point-min)) (1+ te-width))))
(if newline (setq line (1+ line)))
(cond ((= line te-height)
(setq te-more-count te-height))
;>>>> something is strange. Investigate this!
((= line (1- te-height))
(setq te-more-count te-height))
((or (< line (/ te-height 2))
(> (- te-height line) 10))
;; break at end of this page
(setq te-more-count (- te-height line)))
(t
;; migrate back towards top (ie bottom) of screen.
(setq te-more-count (- te-height
(if (> te-height 10) 2 1)))))))