Function: follow-pos-visible

follow-pos-visible is a byte-compiled function defined in follow.el.gz.

Signature

(follow-pos-visible POS WIN WIN-START-END)

Documentation

Non-nil when POS is visible in WIN.

Source Code

;; Defined in /usr/src/emacs/lisp/follow.el.gz
(defsubst follow-pos-visible (pos win win-start-end)
  "Non-nil when POS is visible in WIN."
  (let ((wstart-wend-bend (cdr (assq win win-start-end))))
    (and (>= pos (car wstart-wend-bend))
	 (or (< pos (cadr wstart-wend-bend))
	     (nth 2 wstart-wend-bend)))))